Skip to content

Instantly share code, notes, and snippets.

npm install -g @briebug/jest-schematic
"workbench.colorCustomizations": {
"tab.activeBackground": "#f4f4f5",
"tab.activeForeground": "#1d1d20",
"tab.inactiveForeground": "#848490",
}
act push
brew install nektos/tap/act
import * as loginPo from '../support/po/login.po';
describe('Login', () => {
beforeEach(() => {
loginPo.navigatoTo();
loginPo.valid();
});
it('display login', () => {
import * as common from './common.po';
export const navigatoTo = () => cy.visit(common.baseUrl);
export const getContent = () => cy.get('.js-content-login');
export const valid = () => {
getContent().should('be.visible');
};
import * as common from './common.po';
export const navigatoTo = () => cy.visit(common.baseUrl);
export const getContent = () => cy.get('.js-content-login');
export const valid = () => {
getContent().should('be.visible');
};
import './commands';
npm install --save-dev cypress-image-snapshot
http://localhost:8080/web/login