cy: no more naviagte
This commit is contained in:
@ -33,7 +33,12 @@ context('List Users Browser Testing', () => {
|
||||
listingJob,
|
||||
listingCity,
|
||||
listingCount;
|
||||
it('should visit the users listing screen', () => cy.naviagte('/members'));
|
||||
it('should visit the users listing screen', () => {
|
||||
cy.visit('/members');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/members');
|
||||
});
|
||||
});
|
||||
it('should get the listing count', () => {
|
||||
cy.get(listingCountQuery.join(' ')).invoke('text').then(text => listingCount = text);
|
||||
});
|
||||
|
Reference in New Issue
Block a user