Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERC20 and Mother e2e tests #322

Merged
merged 13 commits into from
Jul 7, 2022
Prev Previous commit
Next Next commit
delete comments
statictype committed Jun 29, 2022

Unverified

This user has not yet uploaded their public signing key.
commit fe502e2c1fff44d7fdc422f295e025f701b460af
4 changes: 0 additions & 4 deletions cypress/support/commands.js

This file was deleted.

29 changes: 1 addition & 28 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,5 @@
/// <reference types="cypress" />
// ***********************************************
// This example commands.ts shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
//

export {};
import 'cypress-file-upload';

declare global {
namespace Cypress {
27 changes: 0 additions & 27 deletions cypress/support/component.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
// ***********************************************************
// This example support/component.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react';

// Augment the Cypress namespace to include type definitions for
// your custom command.
// Alternatively, can be defined in cypress/support/component.d.ts
// with a <reference path="./component" /> at the top of your spec.
declare global {
namespace Cypress {
interface Chainable {
@@ -34,6 +10,3 @@ declare global {
}

Cypress.Commands.add('mount', mount);

// Example use:
// cy.mount(<MyComponent />)
18 changes: 0 additions & 18 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';

// Alternatively you can use CommonJS syntax:
// require('./commands')
const timeout = 25000;

Cypress.Commands.add('instantiate', () => {