From 900b95e591e41cecdc1acd6667a100b0119eca31 Mon Sep 17 00:00:00 2001 From: helenanull Date: Mon, 16 Oct 2023 20:43:45 +0200 Subject: [PATCH] change suffix --- cypress/e2e/article.cy.js | 4 ++-- cypress/e2e/comments.cy.js | 2 +- cypress/e2e/header.cy.js | 2 +- cypress/e2e/home.cy.js | 2 +- cypress/e2e/login.cy.js | 4 ++-- cypress/e2e/profile.cy.js | 2 +- cypress/e2e/register.cy.js | 4 ++-- cypress/e2e/settings.cy.js | 4 ++-- cypress/selectors/{article.sel.js => article.css.js} | 0 cypress/selectors/{editor.sel.js => editor.css.js} | 0 cypress/selectors/{header.sel.js => header.css.js} | 0 cypress/selectors/{home.sel.js => home.css.js} | 0 cypress/selectors/{login.sel.js => login.css.js} | 0 cypress/selectors/{profile.sel.js => profile.css.js} | 0 cypress/selectors/{register.sel.js => register.css.js} | 0 cypress/selectors/{settings.sel.js => settings.css.js} | 0 16 files changed, 12 insertions(+), 12 deletions(-) rename cypress/selectors/{article.sel.js => article.css.js} (100%) rename cypress/selectors/{editor.sel.js => editor.css.js} (100%) rename cypress/selectors/{header.sel.js => header.css.js} (100%) rename cypress/selectors/{home.sel.js => home.css.js} (100%) rename cypress/selectors/{login.sel.js => login.css.js} (100%) rename cypress/selectors/{profile.sel.js => profile.css.js} (100%) rename cypress/selectors/{register.sel.js => register.css.js} (100%) rename cypress/selectors/{settings.sel.js => settings.css.js} (100%) diff --git a/cypress/e2e/article.cy.js b/cypress/e2e/article.cy.js index 5e21d5d..b7c0e47 100644 --- a/cypress/e2e/article.cy.js +++ b/cypress/e2e/article.cy.js @@ -1,5 +1,5 @@ -import editor from '../selectors/editor.sel' -import article from '../selectors/article.sel' +import editor from '../selectors/editor.css' +import article from '../selectors/article.css' describe('Article', () => { const seeMoreLink = 'https://github.com/helenanull/cypress-example' diff --git a/cypress/e2e/comments.cy.js b/cypress/e2e/comments.cy.js index 3154c35..1ea5a58 100644 --- a/cypress/e2e/comments.cy.js +++ b/cypress/e2e/comments.cy.js @@ -1,4 +1,4 @@ -import article from '../selectors/article.sel' +import article from '../selectors/article.css' describe('Comments', () => { beforeEach(() => { diff --git a/cypress/e2e/header.cy.js b/cypress/e2e/header.cy.js index c5a7fa7..ec37ada 100644 --- a/cypress/e2e/header.cy.js +++ b/cypress/e2e/header.cy.js @@ -1,4 +1,4 @@ -import header from '../selectors/header.sel' +import header from '../selectors/header.css' describe('Header', () => { it('contains correct elements when logged out', () => { diff --git a/cypress/e2e/home.cy.js b/cypress/e2e/home.cy.js index c9d3a4b..44be3c6 100644 --- a/cypress/e2e/home.cy.js +++ b/cypress/e2e/home.cy.js @@ -1,4 +1,4 @@ -import home from '../selectors/home.sel' +import home from '../selectors/home.css' describe('Home page', () => { it('contains correct elements when logged out', () => { diff --git a/cypress/e2e/login.cy.js b/cypress/e2e/login.cy.js index f533732..455aeda 100644 --- a/cypress/e2e/login.cy.js +++ b/cypress/e2e/login.cy.js @@ -1,5 +1,5 @@ -import login from '../selectors/login.sel' -import header from '../selectors/header.sel' +import login from '../selectors/login.css' +import header from '../selectors/header.css' describe('Login', () => { // context is the same as describe diff --git a/cypress/e2e/profile.cy.js b/cypress/e2e/profile.cy.js index def373b..0809da7 100644 --- a/cypress/e2e/profile.cy.js +++ b/cypress/e2e/profile.cy.js @@ -1,4 +1,4 @@ -import profile from '../selectors/profile.sel' +import profile from '../selectors/profile.css' describe('Profile page', () => { beforeEach(() => { diff --git a/cypress/e2e/register.cy.js b/cypress/e2e/register.cy.js index 2d151e1..6714c89 100644 --- a/cypress/e2e/register.cy.js +++ b/cypress/e2e/register.cy.js @@ -1,5 +1,5 @@ -import registration from '../selectors/register.sel' -import header from '../selectors/header.sel' +import registration from '../selectors/register.css' +import header from '../selectors/header.css' describe('Register', () => { // https://docs.cypress.io/guides/core-concepts/variables-and-aliases.html#Aliases diff --git a/cypress/e2e/settings.cy.js b/cypress/e2e/settings.cy.js index 4e9eb8c..47bdbba 100644 --- a/cypress/e2e/settings.cy.js +++ b/cypress/e2e/settings.cy.js @@ -1,5 +1,5 @@ -import settings from '../selectors/settings.sel' -import profile from '../selectors/profile.sel' +import settings from '../selectors/settings.css' +import profile from '../selectors/profile.css' describe('Settings', () => { beforeEach(() => { diff --git a/cypress/selectors/article.sel.js b/cypress/selectors/article.css.js similarity index 100% rename from cypress/selectors/article.sel.js rename to cypress/selectors/article.css.js diff --git a/cypress/selectors/editor.sel.js b/cypress/selectors/editor.css.js similarity index 100% rename from cypress/selectors/editor.sel.js rename to cypress/selectors/editor.css.js diff --git a/cypress/selectors/header.sel.js b/cypress/selectors/header.css.js similarity index 100% rename from cypress/selectors/header.sel.js rename to cypress/selectors/header.css.js diff --git a/cypress/selectors/home.sel.js b/cypress/selectors/home.css.js similarity index 100% rename from cypress/selectors/home.sel.js rename to cypress/selectors/home.css.js diff --git a/cypress/selectors/login.sel.js b/cypress/selectors/login.css.js similarity index 100% rename from cypress/selectors/login.sel.js rename to cypress/selectors/login.css.js diff --git a/cypress/selectors/profile.sel.js b/cypress/selectors/profile.css.js similarity index 100% rename from cypress/selectors/profile.sel.js rename to cypress/selectors/profile.css.js diff --git a/cypress/selectors/register.sel.js b/cypress/selectors/register.css.js similarity index 100% rename from cypress/selectors/register.sel.js rename to cypress/selectors/register.css.js diff --git a/cypress/selectors/settings.sel.js b/cypress/selectors/settings.css.js similarity index 100% rename from cypress/selectors/settings.sel.js rename to cypress/selectors/settings.css.js