A hub-and-spoke platform for organizations to effectively manage their operations and data. Uses GSuite.
This project is maintained by ColoredCow
Portal uses Cypress for automated testing.
Cypress is a next generation front end testing tool built for the modern web. It address the key pain points developers and QA engineers face when testing modern applications. For more information check offical documentation here.
Cypress make it possible to:
This enables you to write faster, easier and more reliable tests.
Cypress enables you to write all types of tests:
Cypress can test anything that runs in a browser.
/posts/new
.<input>
with class post-title."My First Post"
into it.<input>
with class post-body."Hello, world!"
into it.Submit
./posts/my-first-post
.h1 tag
, ensure it contains the text "My First Post"
. describe('Post Resource', () => {
it('Creating a New Post', () => {
cy.visit('/posts/new') // 1.
cy.get('input.post-title') // 2.
.type('My First Post') // 3.
cy.get('input.post-body') // 4.
.type('Hello, world!') // 5.
cy.contains('Submit')
.click() // 6.
cy.url() // 7.
.should('include', '/posts/my-first-post')
cy.get('h1') // 8.
.should('contain', 'My First Post')
})
})
cypress.json.example
as cypress.json
in the same directory.
cp cypress.json.example cypress.json
For more configuration options please refer here.
npm run cypress
npm run cypress-open