This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Routes } from '@angular/router'; | |
import { ProfileComponent } from './profile-list'; | |
export const routes: Routes = [ | |
{ path: 'profile', component: ProfileComponent } | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('My First Test', function() { | |
it("clicking 'root' shows the right headings", function() { | |
cy.visit('https://example.cypress.io') | |
cy.contains('root').click() | |
// Should be on a new URL which includes '/commands/querying' | |
cy.url().should('include', '/commands/querying') | |
// Should find the main header "Querying" |
NewerOlder