Skip to content

Commit

Permalink
adjusted the screenshots path in cypress config, removed eextra line …
Browse files Browse the repository at this point in the history
…from initLangTest and changed description in describe routine
  • Loading branch information
williamw04 committed Jan 16, 2025
1 parent ccace74 commit b587678
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default defineConfig({
},
specPattern: 'src/cypress/e2e/*.cy.ts',
supportFile: 'src/cypress/support/e2e.ts',
screenshotsFolder: 'cypress/screenshots/e2e',
screenshotsFolder: 'src/cypress/screenshots/e2e',
},
});
1 change: 0 additions & 1 deletion src/cypress/e2e/initLangTest.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// Visit the OED application
cy.visit("/");
});

it("should update the UI and React state when the language is changed", () => {
// Open the language selection dropdown

Expand Down
3 changes: 2 additions & 1 deletion src/cypress/e2e/line.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

describe('template spec', () => {
// This test is a greate template to start with for understanding testing using cypress.
describe('testing line graph selecing groups and meters and test for plotly line graph ', () => {
beforeEach(() => {
// Visit the OED application
cy.visit('/');
Expand Down

0 comments on commit b587678

Please sign in to comment.