Skip to content

Commit

Permalink
feat: SJIP-906 Adjust Cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kstonge committed Jan 21, 2025
1 parent 95a19bc commit 0aba2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/Widgets/AuthorizedStudies.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Page Dashboard - Widget Authorized Studies (déconnecté)', () => {
cy.get('a[href="https://dbgap.ncbi.nlm.nih.gov/aa/wga.cgi?login=&page=login"]').contains('applying for data access').should('exist');
});

it('Vérifier les informations affichées - Carte [SJIP-906]', () => {
it('Vérifier les informations affichées - Carte', () => {
cy.get('[class*="DashboardCards_dashboardCard"]').each(($el: JQuery<HTMLElement>) => {
if ($el.text().includes('Authorized Studies')) {
cy.wrap($el).find('[class*="Gridcard_contentWrapper"]').as('gridCard');
Expand Down Expand Up @@ -87,7 +87,7 @@ describe('Page Dashboard - Widget Authorized Studies (connecté)', () => {
cy.get('@authenticatedHeader').find('button').contains('Disconnect').should('exist');
});

it('Vérifier les informations affichées - Study [SJIP-906]', () => {
it('Vérifier les informations affichées - Study', () => {
cy.get('[class*="DashboardCards_dashboardCard"]').each(($el: JQuery<HTMLElement>) => {
if ($el.text().includes('Authorized Studies')) {
cy.wrap($el).as('authStudiesCard');
Expand Down

0 comments on commit 0aba2f3

Please sign in to comment.