@ -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'
@ -1,4 +1,4 @@
describe('Comments', () => {
beforeEach(() => {
import header from '../selectors/header.sel'
import header from '../selectors/header.css'
describe('Header', () => {
it('contains correct elements when logged out', () => {
import home from '../selectors/home.sel'
import home from '../selectors/home.css'
describe('Home page', () => {
import login from '../selectors/login.sel'
import login from '../selectors/login.css'
describe('Login', () => {
// context is the same as describe
import profile from '../selectors/profile.sel'
import profile from '../selectors/profile.css'
describe('Profile page', () => {
import registration from '../selectors/register.sel'
import registration from '../selectors/register.css'
describe('Register', () => {
// https://docs.cypress.io/guides/core-concepts/variables-and-aliases.html#Aliases
import settings from '../selectors/settings.sel'
import settings from '../selectors/settings.css'
describe('Settings', () => {