We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba9c2d commit 78ee7c7Copy full SHA for 78ee7c7
cypress/integration/depends_on.js
@@ -1,4 +1,8 @@
1
context('Depends On', () => {
2
+ beforeEach(() => {
3
+ cy.login();
4
+ cy.visit('/desk');
5
+ });
6
before(() => {
7
cy.login();
8
cy.visit('/desk');
@@ -49,6 +53,7 @@ context('Depends On', () => {
49
53
cy.get('.control-input [data-fieldname="dependant_field"]').should('not.be.disabled');
50
54
});
51
55
it('should display the field depending on other fields value', () => {
56
+ cy.new_form('Test Depends On');
52
57
cy.get('.control-input [data-fieldname="display_dependant_field"]').should('not.be.visible');
58
cy.get('.control-input [data-fieldname="test_field"]').clear();
59
cy.fill_field('test_field', 'Value');
0 commit comments