@@ -2,37 +2,32 @@ import { test } from "@playwright/test";
2
2
import { testTab } from "../testFunctions" ;
3
3
import { anvilTabs } from "./anvil-tabs" ;
4
4
5
- test ( "Expect clicking the datasets tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
5
+ test ( "Expect clicking the activities tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
6
6
page,
7
7
} ) => {
8
- await page . goto ( anvilTabs . activities . url ) ;
9
- await testTab ( page , anvilTabs . datasets ) ;
8
+ await testTab ( page , anvilTabs . datasets , anvilTabs . activities ) ;
10
9
} ) ;
11
10
12
- test ( "Expect clicking the activities tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
11
+ test ( "Expect clicking the datasets tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
13
12
page,
14
13
} ) => {
15
- await page . goto ( anvilTabs . datasets . url ) ;
16
- await testTab ( page , anvilTabs . activities ) ;
14
+ await testTab ( page , anvilTabs . activities , anvilTabs . datasets ) ;
17
15
} ) ;
18
16
19
17
test ( "Expect clicking the files tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
20
18
page,
21
19
} ) => {
22
- await page . goto ( anvilTabs . datasets . url ) ;
23
- await testTab ( page , anvilTabs . files ) ;
20
+ await testTab ( page , anvilTabs . datasets , anvilTabs . files ) ;
24
21
} ) ;
25
22
26
23
test ( "Expect clicking the donors tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
27
24
page,
28
25
} ) => {
29
- await page . goto ( anvilTabs . datasets . url ) ;
30
- await testTab ( page , anvilTabs . donors ) ;
26
+ await testTab ( page , anvilTabs . datasets , anvilTabs . donors ) ;
31
27
} ) ;
32
28
33
29
test ( "Expect clicking the biosamples tab to go to the correct url and to show all of the relevant columns when selected" , async ( {
34
30
page,
35
31
} ) => {
36
- await page . goto ( anvilTabs . datasets . url ) ;
37
- await testTab ( page , anvilTabs . biosamples ) ;
32
+ await testTab ( page , anvilTabs . datasets , anvilTabs . biosamples ) ;
38
33
} ) ;
0 commit comments