Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -4,35 +4,35 @@
|
||||
// cindy.chang@dsp.im (Cindy Chang), 2024/06/03
|
||||
// imacat.yang@dsp.im (imacat), 2026/03/05
|
||||
|
||||
import { loginWithFixtures } from '../support/intercept';
|
||||
import { loginWithFixtures } from "../support/intercept";
|
||||
|
||||
describe('Discover page navigation tabs', () => {
|
||||
describe("Discover page navigation tabs", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
cy.visit('/files');
|
||||
cy.wait('@getFiles');
|
||||
cy.visit("/files");
|
||||
cy.wait("@getFiles");
|
||||
});
|
||||
|
||||
it('Double-clicking a log file enters the MAP page.', () => {
|
||||
cy.contains('td.fileName', 'sample-process.xes').dblclick();
|
||||
cy.url().should('include', 'map');
|
||||
it("Double-clicking a log file enters the MAP page.", () => {
|
||||
cy.contains("td.fileName", "sample-process.xes").dblclick();
|
||||
cy.url().should("include", "map");
|
||||
// MAP tab should exist in the navbar
|
||||
cy.contains('.nav-item', 'MAP').should('exist');
|
||||
cy.contains(".nav-item", "MAP").should("exist");
|
||||
});
|
||||
|
||||
it('Clicking CONFORMANCE tab switches active page.', () => {
|
||||
cy.contains('td.fileName', 'sample-process.xes').dblclick();
|
||||
cy.url().should('include', 'map');
|
||||
cy.contains('.nav-item', 'CONFORMANCE').click();
|
||||
cy.url().should('include', 'conformance');
|
||||
cy.contains('.nav-item', 'CONFORMANCE').should('have.class', 'active');
|
||||
it("Clicking CONFORMANCE tab switches active page.", () => {
|
||||
cy.contains("td.fileName", "sample-process.xes").dblclick();
|
||||
cy.url().should("include", "map");
|
||||
cy.contains(".nav-item", "CONFORMANCE").click();
|
||||
cy.url().should("include", "conformance");
|
||||
cy.contains(".nav-item", "CONFORMANCE").should("have.class", "active");
|
||||
});
|
||||
|
||||
it('Clicking PERFORMANCE tab switches active page.', () => {
|
||||
cy.contains('td.fileName', 'sample-process.xes').dblclick();
|
||||
cy.url().should('include', 'map');
|
||||
cy.contains('.nav-item', 'PERFORMANCE').click();
|
||||
cy.url().should('include', 'performance');
|
||||
cy.contains('.nav-item', 'PERFORMANCE').should('have.class', 'active');
|
||||
it("Clicking PERFORMANCE tab switches active page.", () => {
|
||||
cy.contains("td.fileName", "sample-process.xes").dblclick();
|
||||
cy.url().should("include", "map");
|
||||
cy.contains(".nav-item", "PERFORMANCE").click();
|
||||
cy.url().should("include", "performance");
|
||||
cy.contains(".nav-item", "PERFORMANCE").should("have.class", "active");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user