Cypress
記述例 (サンプルに入ってる)
actions.jscontext('Actions', () => {
beforeEach(() => {
cy.visit('https://example.cypress.io/commands/actions')
})
it('.type() - type into a DOM element', () => {
// https://on.cypress.io/type
cy.get('.action-email')
.type('fake@email.com').should('have.value', 'fake@email.com')
// .type() with special character sequences
.type('{leftarrow}{rightarrow}{uparrow}{downarrow}')
.type('{del}{selectall}{backspace}')
なんかわかりやすそう


便利ですね。1年くらい業務で使ってました。
記述が楽ですねー

% npx cypress open
GUIが開く
Chromeで動く
% npx cypress run -s テストファイル
ターミナルで動く (ヘッドレスブラウザ)
EpisoPass.comをテストしてるとこ
