Skip to content

Commit cea6118

Browse files
committed
fix: fixed redundant code and bad timeouts (#4068)
1 parent ac63c9d commit cea6118

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

explorer/e2e/anvil/anvil-filters.spec.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from "../testFunctions";
1111
import { anvilFilters, anvilTabs, anvilTabTestOrder } from "./anvil-tabs";
1212

13-
test.describe.configure({ mode: "parallel", timeout: 60 * 1000 });
1413
const filter_index_list = [3, 4, 5, 10, 6, 2];
1514
const filter_index_list_short = [1, 10, 3];
1615
test("Check that all filters exist on the Datasets tab and are clickable", async ({
@@ -108,32 +107,32 @@ test("Check that filter menu counts match actual counts on the Activities tab",
108107
);
109108
});
110109

111-
test.setTimeout(120000);
112110
test("Check that the blue filter bubbles match the selected filter for an arbitrary filter on the Files tab", async ({
113111
page,
114112
}) => {
113+
test.setTimeout(120000);
115114
await testFilterBubbles(
116115
page,
117116
anvilTabs.files,
118117
filter_index_list_short.map((x) => anvilFilters[x])
119118
);
120119
});
121120

122-
test.setTimeout(120000);
123121
test("Check that the blue filter bubbles match the selected filter for an arbitrary filter on the BioSamples tab", async ({
124122
page,
125123
}) => {
124+
test.setTimeout(120000);
126125
await testFilterBubbles(
127126
page,
128127
anvilTabs.biosamples,
129128
filter_index_list_short.map((x) => anvilFilters[x])
130129
);
131130
});
132131

133-
test.setTimeout(120000);
134132
test("Check that the clear all button functions on the files tab", async ({
135133
page,
136134
}) => {
135+
test.setTimeout(120000);
137136
await testClearAll(
138137
page,
139138
anvilTabs.files,

0 commit comments

Comments
 (0)