Skip to content

Commit 6866fb9

Browse files
committed
Component tests: fix transparent/missing icons
1 parent d2ef56b commit 6866fb9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cypress/support/component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import '@/styles/index.scss'
2222
// Alternatively you can use CommonJS syntax:
2323
// require('./commands')
2424

25-
import { createVuetify } from 'vuetify'
25+
import vuetify from '@/plugins/vuetify'
2626

2727
import { mount } from 'cypress/vue'
2828

@@ -34,7 +34,6 @@ Cypress.Commands.add('mount', mount)
3434
// e.g. cy.mount(MyVuetifyComponent)
3535
// see also addVuetifyStyles
3636
Cypress.Commands.add('vmount', (component, options = {}) => {
37-
const vuetify = createVuetify()
3837
return mount(
3938
component,
4039
{

src/styles/cylc/_job.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ $cjob: ".c-job .job rect";
134134
}
135135

136136
@each $theme in "default", "greyscale", "colour_blind" {
137-
#app .job_theme--#{$theme} {
137+
.job_theme--#{$theme} {
138138
&, // job theme as configured by the top-level application
139139
&.job_theme_override {
140140
// if overridden elsewhere the new value should take priority

0 commit comments

Comments
 (0)