-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Romuald Caplier
committed
Aug 29, 2024
1 parent
6ea11fb
commit 6e317bc
Showing
2 changed files
with
1 addition
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,34 +70,6 @@ describe('editor form', () => { | |
cy.get('md-editor-publish-button').click() | ||
}) | ||
|
||
describe('New record', () => { | ||
beforeEach(() => { | ||
cy.login('barbie', 'p4ssworD_', false) | ||
|
||
cy.visit('/create') | ||
|
||
cy.get('@accessAndContactPageSelectorButton').click() | ||
}) | ||
|
||
it('should have the connected user information prefilled in the contacts for resource of the dataset', () => { | ||
cy.get('[data-test=displayedRoles]').children().should('have.length', 1) | ||
|
||
cy.get('[data-test=displayedRoles]') | ||
.children() | ||
.find('gn-ui-contact-card') | ||
.get('[data-test=contactCardName]') | ||
.invoke('text') | ||
.should('contain', 'Barbara Roberts') | ||
|
||
cy.get('[data-test=displayedRoles]') | ||
.children() | ||
.find('gn-ui-contact-card') | ||
.get('[data-test=contactCardEmail]') | ||
.invoke('text') | ||
.should('contain', '[email protected]') | ||
}) | ||
}) | ||
|
||
describe('record fields', () => { | ||
describe('contacts for resources', () => { | ||
beforeEach(() => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters