Skip to content

Commit ec4ab51

Browse files
authored
Use small data for slow GUI tests (#643)
* Use small data for slow GUI tests * Use small data for slow GUI tests * Use small data for slow GUI tests * Change test setting of lsdd * Change test setting of rdf
1 parent 7e924a2 commit ec4ab51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+283
-3
lines changed

tests/gui/view/abod.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ describe('anomaly detection', () => {
3030
}, 10000)
3131

3232
test('learn', async () => {
33+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
34+
await dataSelectBox.selectOption('hr_diagram')
35+
3336
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3437
await taskSelectBox.selectOption('AD')
3538
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/adaline.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ describe('classification', () => {
2828
}, 10000)
2929

3030
test('learn', async () => {
31+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
32+
await dataSelectBox.selectOption('uci')
33+
3134
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3235
await taskSelectBox.selectOption('CF')
3336
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/adamenn.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ describe('classification', () => {
3434
}, 10000)
3535

3636
test('learn', async () => {
37+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
38+
await dataSelectBox.selectOption('uci')
39+
3740
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3841
await taskSelectBox.selectOption('CF')
3942
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/alma.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ describe('classification', () => {
3232
}, 10000)
3333

3434
test('learn', async () => {
35+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
36+
await dataSelectBox.selectOption('uci')
37+
3538
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3639
await taskSelectBox.selectOption('CF')
3740
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/aode.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ describe('classification', () => {
2424
}, 10000)
2525

2626
test('learn', async () => {
27+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
28+
await dataSelectBox.selectOption('uci')
29+
2730
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
2831
await taskSelectBox.selectOption('CF')
2932
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/arow.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ describe('classification', () => {
2626
}, 10000)
2727

2828
test('learn', async () => {
29+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
30+
await dataSelectBox.selectOption('uci')
31+
2932
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3033
await taskSelectBox.selectOption('CF')
3134
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/ballseptron.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ describe('classification', () => {
2626
}, 10000)
2727

2828
test('learn', async () => {
29+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
30+
await dataSelectBox.selectOption('uci')
31+
2932
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3033
await taskSelectBox.selectOption('CF')
3134
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/banditron.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ describe('classification', () => {
2626
}, 10000)
2727

2828
test('learn', async () => {
29+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
30+
await dataSelectBox.selectOption('uci')
31+
2932
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3033
await taskSelectBox.selectOption('CF')
3134
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/bogd.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ describe('classification', () => {
4040
}, 10000)
4141

4242
test('learn', async () => {
43+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
44+
await dataSelectBox.selectOption('uci')
45+
4346
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
4447
await taskSelectBox.selectOption('CF')
4548
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

tests/gui/view/bpa.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ describe('classification', () => {
3434
}, 10000)
3535

3636
test('learn', async () => {
37+
const dataSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(2) select')
38+
await dataSelectBox.selectOption('uci')
39+
3740
const taskSelectBox = await page.waitForSelector('#ml_selector dl:first-child dd:nth-child(5) select')
3841
await taskSelectBox.selectOption('CF')
3942
const modelSelectBox = await page.waitForSelector('#ml_selector .model_selection #mlDisp')

0 commit comments

Comments
 (0)