Skip to content

Commit

Permalink
import ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Feb 29, 2024
1 parent 47619e2 commit ad08117
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/02-offence-maint.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testAdmin } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
function setBylawFilter() {
cy.get("button[data-cy='select-bylaw']").click();
cy.get('.modal').should('be.visible').find('a.panel-block').first().click();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/02-offence-maint.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable promise/always-return, promise/catch-or-return */

import { testAdmin } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

function setBylawFilter(): void {
cy.get("button[data-cy='select-bylaw']").click()
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/03-cleanup.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testAdmin } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Admin - Database Cleanup', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/03-cleanup.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable promise/always-return, promise/catch-or-return */

import { testAdmin } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Admin - Database Cleanup', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/dashboard.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testAdmin } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Dashboard - Admin User', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/01-admin/dashboard.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testAdmin } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Dashboard - Admin User', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/01-ticket-new.cy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as configFunctions from '../../../helpers/functions.config.js';
import { testUpdate } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Create a New Ticket', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/01-ticket-new.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import * as configFunctions from '../../../helpers/functions.config.js'
import { testUpdate } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Create a New Ticket', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/02-ticket-edit.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testUpdate } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
function saveTicket() {
cy.get("button[type='submit']").contains('Update').click();
cy.get('.tag').should('contain.text', 'Saved Successfully').should('exist');
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/02-ticket-edit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable promise/always-return, promise/catch-or-return */

import { testUpdate } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

function saveTicket(): void {
cy.get("button[type='submit']").contains('Update').click()
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/03-plates-ontario-mtoExport.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testUpdate } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
function clearCurrentBatch() {
cy.get("button[data-cy='clear-batch']")
.should(Cypress._.noop)
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/03-plates-ontario-mtoExport.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable promise/always-return, promise/catch-or-return */

import { testUpdate } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

function clearCurrentBatch(): void {
cy.get("button[data-cy='clear-batch']")
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/dashboard.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testUpdate } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Dashboard - Update User', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/dashboard.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testUpdate } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Dashboard - Update User', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/ticket-search.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testUpdate } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Ticket Search - Update User', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/02-update/ticket-search.cy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable eslint-comments/disable-enable-pair, unicorn/filename-case */

import { testUpdate } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Ticket Search - Update User', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/03-readOnly/readOnlyUser.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testView } from '../../../test/_globals.js';
import { logout, login } from '../../support/index.js';
import { login, logout } from '../../support/index.js';
describe('Read Only User', () => {
beforeEach(() => {
logout();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/03-readOnly/readOnlyUser.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { testView } from '../../../test/_globals.js'
import { logout, login } from '../../support/index.js'
import { login, logout } from '../../support/index.js'

describe('Read Only User', () => {
beforeEach(() => {
Expand Down

0 comments on commit ad08117

Please # to comment.