-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
53 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import "~@dpc-sdp/ripple-global/style"; | ||
|
||
// Example custom css | ||
.tide-page--demo_landing_page { | ||
.example-message { | ||
background-color: rgb(217, 217, 217) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<template> | ||
<nuxt/> | ||
</template> | ||
|
||
<style lang="scss"> | ||
@import "~@dpc-sdp/ripple-global/style"; | ||
// @import "~assets/_custom.scss"; | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Feature: Custom css should work | ||
|
||
Custom css is getting loaded | ||
|
||
Background: | ||
Given I visit the page "/demo-landing-page" | ||
|
||
@smoke | ||
Scenario: Custom css for example message is applied | ||
And the example message has custom background color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* global cy */ | ||
|
||
import { Then } from 'cypress-cucumber-preprocessor/steps' | ||
|
||
Then(`the example message has custom background color`, () => { | ||
cy.get('.example-message').should('have.css', 'background-color', 'rgb(217, 217, 217)') | ||
}) |
10 changes: 10 additions & 0 deletions
10
test/e2e/integration/CustomMiddleware/CustomMiddleware.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Feature: Custom middleware | ||
|
||
Custom middleware should work | ||
|
||
Background: | ||
Given I visit the page "/demo-landing-page" | ||
|
||
@smoke | ||
Scenario: Example for adding component | ||
And the example message is added |
7 changes: 7 additions & 0 deletions
7
test/e2e/integration/CustomMiddleware/CustomMiddleware/step_definition.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* global cy */ | ||
|
||
import { Then } from 'cypress-cucumber-preprocessor/steps' | ||
|
||
Then(`the example message is added`, () => { | ||
cy.get('.example-message').should('exist') | ||
}) |