cy: no more naviagte
This commit is contained in:
@ -14,7 +14,12 @@ context('Create Channel Browser Testing', () => {
|
||||
describe('Channel Creation process #1', () => {
|
||||
let channelName = 'Test Channel ',
|
||||
description = 'Test Description ';
|
||||
it('should visit the channel creation screen', () => cy.naviagte('/admin/admin-circle-create'));
|
||||
it('should visit the channel creation screen', () => {
|
||||
cy.visit('/admin/admin-circle-create');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/admin/admin-circle-create');
|
||||
});
|
||||
});
|
||||
it('should enter correct channel data', () => {
|
||||
cy.randomNum().then(num => {
|
||||
channelName += num;
|
||||
@ -43,7 +48,12 @@ context('Create Channel Browser Testing', () => {
|
||||
describe('Channel Creation process #2', () => {
|
||||
let channelName = 'Test Channel ',
|
||||
description = 'Test Description ';
|
||||
it('should visit the channel creation screen', () => cy.naviagte('/admin/admin-circle-create'));
|
||||
it('should visit the channel creation screen', () => {
|
||||
cy.visit('/admin/admin-circle-create');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/admin/admin-circle-create');
|
||||
});
|
||||
});
|
||||
it('should enter correct channel data', () => {
|
||||
cy.randomNum().then(num => {
|
||||
channelName += num;
|
||||
@ -72,7 +82,12 @@ context('Create Channel Browser Testing', () => {
|
||||
describe('Channel Creation process #3', () => {
|
||||
let channelName = 'Test Channel ',
|
||||
description = 'Test Description ';
|
||||
it('should visit the channel creation screen', () => cy.naviagte('/admin/admin-circle-create'));
|
||||
it('should visit the channel creation screen', () => {
|
||||
cy.visit('/admin/admin-circle-create');
|
||||
cy.location().should((loc) => {
|
||||
expect(loc.pathname).to.eq('/admin/admin-circle-create');
|
||||
});
|
||||
});
|
||||
it('should enter correct channel data', () => {
|
||||
cy.randomNum().then(num => {
|
||||
channelName += num;
|
||||
|
Reference in New Issue
Block a user