Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
callemand committed Oct 3, 2023
1 parent 7ce7ad6 commit f2a0d20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions front/cypress/e2e/routes/scene/Scene.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,17 @@ describe('Scene view', () => {
});

it('Should add new condition device set value', () => {
cy.visit('/dashboard/scene/my-scene');
cy.contains('editScene.addActionButton')
.should('have.class', 'btn-outline-primary')
.click();

const serverUrl = Cypress.env('serverUrl');
cy.intercept({
method: 'GET',
url: `${serverUrl}/api/v1/room?expand=devices`
}).as('loadDevices');

cy.visit('/dashboard/scene/my-scene');
cy.contains('editScene.addActionButton')
.should('have.class', 'btn-outline-primary')
.click();

const i18n = Cypress.env('i18n');

cy.get('div[class*="-control"]').then(inputs => {
Expand Down

0 comments on commit f2a0d20

Please sign in to comment.