Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added another angular example #1822

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Discard changes to e2e/cypress/e2e/99-0-showcases/showcases-form.cy.js
  • Loading branch information
mfranzke authored Sep 27, 2023
commit 2c5918c895234c9e92e1dcaf7c365a1ecae42519
6 changes: 3 additions & 3 deletions e2e/cypress/e2e/99-0-showcases/showcases-form.cy.js
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ context('showcase', () => {

// 4. Select
const option = 'Option 2';
cy.get('db-select').eq(0).find('select').select(option);
cy.get('db-select').find('select').select(option);
checkFormChange(3, option);

// 5. Textarea
@@ -41,11 +41,11 @@ context('showcase', () => {
.type(textAreaValue)
.blur()
.should('have.value', textAreaValue);
checkFormChange(5, textAreaValue);
checkFormChange(4, textAreaValue);

// 6. Toggle
cy.get('db-toggle').click();
checkFormChange(6, 'true');
checkFormChange(5, 'true');

// 7. Button
const stub = cy.stub();
Loading