Browse Source

refactor(cypress): use more specific selector

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/765/head
Pranav C 3 years ago
parent
commit
5530293187
  1. 2
      packages/nc-gui/layouts/default.vue
  2. 2
      packages/nc-gui/layouts/public.vue
  3. 2
      scripts/cypress/integration/common/00_pre_configurations.js

2
packages/nc-gui/layouts/default.vue

@ -16,7 +16,7 @@
<v-toolbar-title>
<v-tooltip bottom>
<template #activator="{ on }">
<v-btn to="/projects" icon class="pa-1 brand-icon" v-on="on">
<v-btn to="/projects" icon class="pa-1 brand-icon nc-noco-brand-icon" v-on="on">
<v-img :src="logo" max-height="30px" max-width="30px" />
<!-- <v-icon color="primary">alpha-x-circle</v-icon
><v-icon color="primary">alpha-c-circle </v-icon> -->

2
packages/nc-gui/layouts/public.vue

@ -13,7 +13,7 @@
<v-toolbar-title>
<v-tooltip bottom>
<template #activator="{ on }">
<v-btn to="/projects" icon class="pa-1 brand-icon" v-on="on">
<v-btn to="/projects" icon class="pa-1 brand-icon nc-noco-brand-icon" v-on="on">
<v-img :src="require('~/assets/img/icons/512x512-trans.png')" max-height="30px" max-width="30px" />
<!-- <v-icon color="primary">alpha-x-circle</v-icon
><v-icon color="primary">alpha-c-circle </v-icon> -->

2
scripts/cypress/integration/common/00_pre_configurations.js

@ -20,7 +20,7 @@ export const genTest = (type, xcdb) => {
it(`Create ${proj.basic.name} project`, () => {
// click home button
mainPage.toolBarTopLeft(mainPage.HOME).click()
cy.get('.nc-noco-brand-icon').click()
cy.get('.nc-container').then((obj) => {
cy.log(obj)

Loading…
Cancel
Save