Skip to content

Commit 7f439b0

Browse files
attempt to make tests stable according to unstable test sites
1 parent ce280b9 commit 7f439b0

18 files changed

+43
-43
lines changed

examples/creator/custom_adorner.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../../helper';
22

33
test('Adorner exists', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
await page.goto(`${url}/survey-creator/examples/s/create-custom-adorners/reactjs`);
77

examples/creator/custom_property_editor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../../helper';
22

33
test('Check shortname property', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
await page.goto(`${url}/survey-creator/examples/s/customize-property-editors/reactjs`);
77

examples/creator/custom_widgets.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../../helper';
22

33
test('Check custom widgets default tabs', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
await page.goto(`${url}/Examples/Builder?id=customwidgets&platform=reactjs`);
77
await acceptCookieBanner(page);

examples/creator/embedded-tabs.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../../helper';
22

33
test('Survey Embeded & Creator Embeded', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
const errors:any = [];
77
page.on('pageerror', (error) => {

examples/creator/localization.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../../helper';
22

33
test('Check tabs 1', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
await page.goto(`${url}/survey-creator/examples/survey-creator-interface-localization/knockoutjs`);
77
await acceptCookieBanner(page);

examples/examplescheck.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url } from '../helper';
22

33
test('Library-1', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=questiontype-text&platform=Knockoutjs&theme=default');
66
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=questiontype-radiogroup&platform=Knockoutjs&theme=default');
77
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=questiontype-dropdown&platform=Knockoutjs&theme=default');
@@ -88,7 +88,7 @@ test('Library-1', async ({ page }) => {
8888
});
8989

9090
test('Library-2', async ({ page }) => {
91-
test.setTimeout(480000);
91+
test.setTimeout(1000000);
9292
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=survey-markdown-matrix&platform=Knockoutjs&theme=default');
9393
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=survey-markdown-radiogroup&platform=Knockoutjs&theme=default');
9494
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=survey-markdown-radiogroup-marked&platform=Knockoutjs&theme=default');
@@ -287,7 +287,7 @@ test('Library-2', async ({ page }) => {
287287
});
288288

289289
test('Library-3', async ({ page }) => {
290-
test.setTimeout(480000);
290+
test.setTimeout(1000000);
291291
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=custom-theme&platform=Knockoutjs&theme=bootstrap');
292292
// await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=bootstrap-material-theme&platform=Knockoutjs&theme=bootstrap')
293293
// await page.goto('https://surveyjstest.azurewebsites.net/Examples/Library?id=floating-labels&platform=Knockoutjs&theme=bootstrap')
@@ -961,7 +961,7 @@ test('Library-3', async ({ page }) => {
961961
});
962962

963963
test('Survey-Creator-1', async ({ page }) => {
964-
test.setTimeout(480000);
964+
test.setTimeout(1000000);
965965
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=options&theme=default&platform=Knockoutjs');
966966
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=singlepage&theme=default&platform=Knockoutjs');
967967
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=localization&theme=default&platform=Knockoutjs');
@@ -995,7 +995,7 @@ test('Survey-Creator-1', async ({ page }) => {
995995
});
996996

997997
test('Survey-Creator-2', async ({ page }) => {
998-
test.setTimeout(480000);
998+
test.setTimeout(1000000);
999999
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=options&theme=modern&platform=Knockoutjs');
10001000
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=singlepage&theme=modern&platform=Knockoutjs');
10011001
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Survey-Creator?id=localization&theme=modern&platform=Knockoutjs');
@@ -1059,7 +1059,7 @@ test('Survey-Creator-2', async ({ page }) => {
10591059
});
10601060

10611061
test('Pdf-Export', async ({ page }) => {
1062-
test.setTimeout(480000);
1062+
test.setTimeout(1000000);
10631063
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Pdf-Export?id=survey-pdf-export');
10641064
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Pdf-Export?id=survey-pdf-customstylization');
10651065
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Pdf-Export?id=survey-pdf-integrationwithcreator');
@@ -1071,7 +1071,7 @@ test('Pdf-Export', async ({ page }) => {
10711071
});
10721072

10731073
test('Analytics', async ({ page }) => {
1074-
test.setTimeout(480000);
1074+
test.setTimeout(1000000);
10751075
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Analytics?id=nps-direct&platform=Knockoutjs');
10761076
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Analytics?id=multilanguage&platform=Knockoutjs');
10771077
await page.goto('https://surveyjstest.azurewebsites.net/Examples/Analytics?id=plain-data&platform=Knockoutjs');

examples/library/libarary.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect, acceptCookieBanner, examplesURL as url } from '../../help
33
// --- Tests from question_types (codesandbox) ---
44

55
test('codesandbox', async ({ page }) => {
6-
test.setTimeout(480000);
6+
test.setTimeout(1000000);
77

88
await page.goto(`${url}/form-library/examples/text-entry-question/reactjs`);
99

@@ -18,7 +18,7 @@ test('codesandbox', async ({ page }) => {
1818
// --- Tests from question_types (text, signaturepad) ---
1919

2020
test('text', async ({ page }) => {
21-
test.setTimeout(480000);
21+
test.setTimeout(1000000);
2222

2323
await page.goto(`${url}/Examples/Library`);
2424

@@ -51,7 +51,7 @@ test('text', async ({ page }) => {
5151
});
5252

5353
test('signaturepad', async ({ page }) => {
54-
test.setTimeout(480000);
54+
test.setTimeout(1000000);
5555

5656
await page.goto('https://surveyjstest.azurewebsites.net/form-library/examples/signature-pad-widget-javascript');
5757

@@ -70,7 +70,7 @@ test('signaturepad', async ({ page }) => {
7070
// --- Tests from survey (title_logo) ---
7171

7272
test('title_logo', async ({ page }) => {
73-
test.setTimeout(480000);
73+
test.setTimeout(1000000);
7474

7575
await page.goto(`${url}/Examples/Library`);
7676
await acceptCookieBanner(page);

examples/theme.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, examplesURL as url, compareScreenshot } from '../helper';
22

33
test('Hotel Booking Form', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55
await page.goto(`${url}/form-library/examples/hotel-booking-form-template-free/reactjs`);
66
await acceptCookieBanner(page);
77
await page.setViewportSize({ width: 1920, height: 1080 });
@@ -22,7 +22,7 @@ test('Hotel Booking Form', async ({ page }) => {
2222
});
2323

2424
test('Order Form', async ({ page }) => {
25-
test.setTimeout(480000);
25+
test.setTimeout(1000000);
2626
await page.goto(`${url}/form-library/examples/order-form-template-free/reactjs`);
2727
await acceptCookieBanner(page);
2828
await page.setViewportSize({ width: 1280, height: 1500 });
@@ -45,7 +45,7 @@ test('Order Form', async ({ page }) => {
4545
});
4646

4747
test('Online Check-In Form', async ({ page }) => {
48-
test.setTimeout(480000);
48+
test.setTimeout(1000000);
4949
await page.goto(`${url}/form-library/examples/online-check-in-form-template-free/reactjs`);
5050
await acceptCookieBanner(page);
5151
await page.setViewportSize({ width: 1280, height: 2200 });
@@ -60,7 +60,7 @@ test('Online Check-In Form', async ({ page }) => {
6060
});
6161

6262
test('Patient Registration Form', async ({ page }) => {
63-
test.setTimeout(480000);
63+
test.setTimeout(1000000);
6464
await page.goto(`${url}/form-library/examples/patient-registration-form-template-free/reactjs`);
6565
await acceptCookieBanner(page);
6666
await page.setViewportSize({ width: 1280, height: 2700 });
@@ -79,7 +79,7 @@ test('Patient Registration Form', async ({ page }) => {
7979
});
8080

8181
test('Pet Hotel Reservation Form', async ({ page }) => {
82-
test.setTimeout(480000);
82+
test.setTimeout(1000000);
8383
await page.goto(`${url}/form-library/examples/pet-hotel-reservation-form-template-free/reactjs`);
8484
await acceptCookieBanner(page);
8585
await page.setViewportSize({ width: 1280, height: 1100 });
@@ -101,7 +101,7 @@ test('Pet Hotel Reservation Form', async ({ page }) => {
101101
});
102102

103103
test('Car Rental Form', async ({ page }) => {
104-
test.setTimeout(480000);
104+
test.setTimeout(1000000);
105105
await page.goto(`${url}/form-library/examples/car-rental-form-template-free/reactjs`);
106106
await acceptCookieBanner(page);
107107
await page.setViewportSize({ width: 1280, height: 3200 });
@@ -112,7 +112,7 @@ test('Car Rental Form', async ({ page }) => {
112112
});
113113

114114
test('Issue Report', async ({ page }) => {
115-
test.setTimeout(480000);
115+
test.setTimeout(1000000);
116116
await page.goto(`${url}/form-library/examples/issue-report-template-free/reactjs`);
117117
await acceptCookieBanner(page);
118118
await page.setViewportSize({ width: 1280, height: 1700 });
@@ -127,7 +127,7 @@ test('Issue Report', async ({ page }) => {
127127
});
128128

129129
test('Sales Contract Form', async ({ page }) => {
130-
test.setTimeout(480000);
130+
test.setTimeout(1000000);
131131
await page.goto(`${url}/form-library/examples/sales-contract-form-template-free/reactjs`);
132132
await acceptCookieBanner(page);
133133
await page.setViewportSize({ width: 1500, height: 1100 });
@@ -146,7 +146,7 @@ test('Sales Contract Form', async ({ page }) => {
146146
});
147147

148148
test('Conference Registration Form', async ({ page }) => {
149-
test.setTimeout(480000);
149+
test.setTimeout(1000000);
150150
await page.goto(`${url}/form-library/examples/conference-registration-form-template-free/reactjs`);
151151
await acceptCookieBanner(page);
152152
await page.setViewportSize({ width: 1280, height: 2500 });
@@ -161,7 +161,7 @@ test('Conference Registration Form', async ({ page }) => {
161161
});
162162

163163
test('Feedback Form', async ({ page }) => {
164-
test.setTimeout(480000);
164+
test.setTimeout(1000000);
165165
await page.goto(`${url}/form-library/examples/feedback-form-template-free/reactjs`);
166166
await acceptCookieBanner(page);
167167
await page.setViewportSize({ width: 1280, height: 2200 });

site/account.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, siteUrl as url } from '../helper';
22

33
test('FormElements', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55

66
await page.setViewportSize({ width: 1920, height: 1080 });
77

@@ -41,7 +41,7 @@ test('FormElements', async ({ page }) => {
4141
});
4242

4343
test('RegisterRemove', async ({ page }) => {
44-
test.setTimeout(480000);
44+
test.setTimeout(1000000);
4545

4646
await page.setViewportSize({ width: 1920, height: 1080 });
4747

@@ -146,7 +146,7 @@ test('RegisterRemove', async ({ page }) => {
146146
});
147147

148148
test('ForgotPasswordForm', async ({ page }) => {
149-
test.setTimeout(480000);
149+
test.setTimeout(1000000);
150150

151151
await page.setViewportSize({ width: 1920, height: 1080 });
152152

site/basic.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect, acceptCookieBanner, siteUrl as url } from '../helper';
22

33
test('Logo Test', async ({ page }) => {
4-
test.setTimeout(480000);
4+
test.setTimeout(1000000);
55
await page.goto(`${url}`);
66
await acceptCookieBanner(page);
77
await page.setViewportSize({ width: 1920, height: 1080 });

0 commit comments

Comments
 (0)