Skip to content

Commit c5ca249

Browse files
Checks for field error in integration test
Issue: documentacao-e-tarefas/scielo#826 Signed-off-by: Jhon <jhon@lepidus.com.br>
1 parent d3f7afa commit c5ca249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cypress/tests/Test1_submissionWizard.cy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ describe('Dataverse Plugin - Submission wizard features', function () {
6161
cy.get('input[name="dataStatementTypes"][value=2]').click();
6262
cy.contains('Insert the URLs to the data');
6363
cy.get('#dataStatement-dataStatementUrls-control').should('be.visible');
64+
cy.get('.pkpFormLocales__locale:contains("French")').eq(1).click();
65+
cy.get('#dataStatement-dataStatementReason-control-fr_CA').should('not.be.visible');
6466
advanceNSteps(4);
6567
cy.contains('h3', 'Data statement');
6668
cy.contains('It is required to inform the URLs to the data in repositories');

0 commit comments

Comments
 (0)