Skip to content

Commit

Permalink
enable lightning mode in before all
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpkane committed Dec 18, 2023
1 parent c33823b commit 1f7b35b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e2e-pw/src/oss/specs/sidebar/lightning.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ test.describe("lightning", () => {
);
});

test.beforeEach(async ({ page, fiftyoneLoader }) => {
test.beforeEach(async ({ grid, page, fiftyoneLoader }) => {
await fiftyoneLoader.waitUntilGridVisible(page, datasetName);
});

test("assert enabled fields", async ({ grid, sidebar }) => {
await grid.actionsRow.toggleDisplayOptions();
await grid.actionsRow.displayActions.setLightningMode("enable");
});

test("assert enabled fields", async ({ sidebar }) => {
await sidebar.asserter.assertFieldsEnabled([
"tags",
"metadata.mime_type",
Expand Down

0 comments on commit 1f7b35b

Please sign in to comment.