Skip to content

Commit 1140417

Browse files
mrtopsytJonah Paten
authored and
Jonah Paten
committed
test: fixed changes that broke with rebasing and made export tests skip (#4080)
1 parent 75ed350 commit 1140417

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

explorer/e2e/anvil-catalog/anvilcatalog-tabs-buttons.spec.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@ import { anvilcatalogTabs } from "./anvilcatalog-tabs";
55
test("Expect clicking the consortia tab to go to the correct url and to show all of the relevant columns when selected", async ({
66
page,
77
}) => {
8-
await testTab(page, anvilcatalogTabs.studies, anvilcatalogTabs.consortia);
8+
const tab = anvilcatalogTabs.consortia;
9+
await page.goto(anvilcatalogTabs.studies.url);
10+
await testTab(page, tab);
911
});
1012

1113
test("Expect clicking the studies tab to go to the correct url and to show all of the relevant columns when selected", async ({
1214
page,
1315
}) => {
14-
await testTab(page, anvilcatalogTabs.workspaces, anvilcatalogTabs.studies);
16+
const tab = anvilcatalogTabs.studies;
17+
await page.goto(anvilcatalogTabs.workspaces.url);
18+
await testTab(page, tab);
1519
});
1620

1721
test("Expect clicking the workspaces tab to go to the correct url and to show all of the relevant columns when selected", async ({
1822
page,
1923
}) => {
20-
await testTab(page, anvilcatalogTabs.consortia, anvilcatalogTabs.workspaces);
24+
const tab = anvilcatalogTabs.workspaces;
25+
await page.goto(anvilcatalogTabs.consortia.url);
26+
await testTab(page, tab);
2127
});

explorer/e2e/anvil/anvil-tabs-buttons.spec.ts

+10-5
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,34 @@ import { anvilTabs } from "./anvil-tabs";
55
test("Expect clicking the activities tab to go to the correct url and to show all of the relevant columns when selected", async ({
66
page,
77
}) => {
8-
await testTab(page, anvilTabs.datasets, anvilTabs.activities);
8+
await page.goto(anvilTabs.activities.url);
9+
await testTab(page, anvilTabs.datasets);
910
});
1011

1112
test("Expect clicking the datasets tab to go to the correct url and to show all of the relevant columns when selected", async ({
1213
page,
1314
}) => {
14-
await testTab(page, anvilTabs.activities, anvilTabs.datasets);
15+
await page.goto(anvilTabs.datasets.url);
16+
await testTab(page, anvilTabs.activities);
1517
});
1618

1719
test("Expect clicking the files tab to go to the correct url and to show all of the relevant columns when selected", async ({
1820
page,
1921
}) => {
20-
await testTab(page, anvilTabs.datasets, anvilTabs.files);
22+
await page.goto(anvilTabs.datasets.url);
23+
await testTab(page, anvilTabs.files);
2124
});
2225

2326
test("Expect clicking the donors tab to go to the correct url and to show all of the relevant columns when selected", async ({
2427
page,
2528
}) => {
26-
await testTab(page, anvilTabs.datasets, anvilTabs.donors);
29+
await page.goto(anvilTabs.datasets.url);
30+
await testTab(page, anvilTabs.donors);
2731
});
2832

2933
test("Expect clicking the biosamples tab to go to the correct url and to show all of the relevant columns when selected", async ({
3034
page,
3135
}) => {
32-
await testTab(page, anvilTabs.datasets, anvilTabs.biosamples);
36+
await page.goto(anvilTabs.datasets.url);
37+
await testTab(page, anvilTabs.datasets);
3338
});

0 commit comments

Comments
 (0)