cy: no more naviagte
This commit is contained in:
@ -23,7 +23,12 @@ context('Leave Project Browser Testing', () => {
|
||||
it('should visit user login screend', () => cy.userLogin());
|
||||
it('should login', () => cy.login());
|
||||
describe('Project Leaving process', () => {
|
||||
it('should visit the projects list screen', () => cy.naviagte('/admin/admin-projects'));
|
||||
it('should visit the projects list screen', () => {
|
||||
cy.visit('/admin/admin-projects');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/admin/admin-projects');
|
||||
});
|
||||
});
|
||||
it('should click the last project leave button', () => {
|
||||
cy.get(tableListQuery.join(' ')).its('length').as('projectsLength');
|
||||
cy.get(tableQuery.join(' ')).click();
|
||||
|
Reference in New Issue
Block a user