Skip to content

Commit

Permalink
Merge branch 'develop' into feature/GH-1220
Browse files Browse the repository at this point in the history
  • Loading branch information
WeizhengSap committed Feb 14, 2019
2 parents 6720b7b + 2d6e477 commit 8070b7b
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spartacus/core",
"version": "0.1.0-prealpha.7",
"version": "0.1.0-prealpha.9",
"description": "Spartacus - the core framework",
"keywords": [
"spartacus",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { user, cart, product } from './../sample-data/big-happy-path';
import { user, cart, product } from '../sample-data/big-happy-path';

context('Big happy path', () => {
before(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
context('Homepage', () => {
before(() => {
cy.visit('/');
});

it('should display title', () => {
cy.title().should('not.be.empty');
});

it('should have site logo', () => {
cy.get('cx-dynamic-slot.SiteLogo').should('be.visible');
});

it('should have splash banner', () => {
cy.get('picture.ElectronicsHompageSplashBannerComponent');
});

it('should have footer with footer navigation and notice', () => {
cy.get('cx-dynamic-slot.Footer').within(() => {
cy.get('.navigation-elements').should('have.length', 3);
cy.get('h1').should('have.length', 3);
cy.get('cx-generic-link');
cy.get('.notice').should(
'contain',
'SAP SE or an SAP affiliate company. All rights reserved.'
);
});
});
});
2 changes: 1 addition & 1 deletion projects/storefrontlib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spartacus/storefront",
"version": "0.1.0-prealpha.14",
"version": "0.1.0-prealpha.15",
"homepage": "https://github.com/SAP/cloud-commerce-spartacus-storefront",
"keywords": [
"spartacus",
Expand Down
2 changes: 1 addition & 1 deletion projects/storefrontstyles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spartacus/styles",
"version": "0.1.0-prealpha.9",
"version": "0.1.0-prealpha.10",
"description": "Style library containing global styles",
"homepage": "https://github.com/SAP/cloud-commerce-spartacus-storefront",
"keywords": [
Expand Down

0 comments on commit 8070b7b

Please sign in to comment.