Skip to content

Commit b9ebc61

Browse files
authored
Merge pull request #479 from TaloDev/cy-ts
Convert Cypress files to TypeScript
2 parents 8434563 + f95584f commit b9ebc61

16 files changed

+28
-41
lines changed
File renamed without changes.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('AcceptInvite', () => {
42
it('should let users accept an invite', () => {
53
cy.intercept('GET', /http:\/\/talo\.api\/public\/invites\/(.*)/, {
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('Billing', () => {
42
function stubBillingCalls() {
53
cy.intercept('GET', 'http://talo.api/billing/organisation-plan', {
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('Demo', () => {
42
it('should let users enter the demo dashboard', () => {
53
cy.intercept('POST', 'http://talo.api/public/demo', {

cypress/e2e/pages/ForgotPassword.spec.cy.js renamed to cypress/e2e/pages/ForgotPassword.spec.cy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('ForgotPassword', () => {
42
it('should let users request a reset link', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/forgot_password', {
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('Login', () => {
42
it('should let users login with valid credentials', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/login', {

cypress/e2e/pages/RecoverAccount.spec.cy.js renamed to cypress/e2e/pages/RecoverAccount.spec.cy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('RecoverAccount', () => {
42
it('should let users log in with a recovery code', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/login', {
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('Register', () => {
42
it('should let users register and create a new game', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/register', {

cypress/e2e/pages/ResetPassword.spec.cy.js renamed to cypress/e2e/pages/ResetPassword.spec.cy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('ResetPassword', () => {
42
it('should let users reset their password', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/reset_password', {
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/// <reference types='cypress' />
2-
31
describe('Verify2FA', () => {
42
it('should let 2fa users log in', () => {
53
cy.intercept('POST', 'http://talo.api/public/users/login', {

0 commit comments

Comments
 (0)