fix cypress tests
This commit is contained in:
parent
2110c4b1ce
commit
480de3e89f
|
|
@ -122,7 +122,7 @@ describe('Friends page with data', () => {
|
|||
it('click instruments more link', () => {
|
||||
cy.get('[data-testid=peopleListTable] > tbody tr')
|
||||
.first()
|
||||
.find('td[data-testid=instruments-col]')
|
||||
.find('[data-testid=instrumentList]')
|
||||
.within(() => {
|
||||
cy.get('div').should('have.length', 4); //show only 4 instruments plus more link
|
||||
cy.contains('Acoustic Guitar: Expert');
|
||||
|
|
@ -195,7 +195,7 @@ describe('Friends page with data', () => {
|
|||
});
|
||||
|
||||
|
||||
describe.only('making friendship', () => {
|
||||
describe('making friendship', () => {
|
||||
it('add friend', () => {
|
||||
cy.intercept('GET', /\S+\/profile\S+/, { fixture: 'person' });
|
||||
cy.intercept('POST', /\S+\/friend_requests/, { statusCode: 201, body: { ok: true } });
|
||||
|
|
|
|||
Loading…
Reference in New Issue