Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 77212f1

Browse files
Consitent naming
1 parent 90765ad commit 77212f1

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IMAGE=frontend
1+
IMAGE=front-end
22

33
.PHONY: test coverage
44

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "weave-demo-frontend",
2+
"name": "microservices-demo-front-end",
33
"version": "0.0.1",
4-
"description": "Front end for weave demo application.",
4+
"description": "Front end for microservices demo application.",
55
"main": "server.js",
66
"scripts": {
77
"test": "istanbul cover node_modules/.bin/_mocha -- test/*_test.js test/api/*_test.js",

test/e2e/cart_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
casper.test.begin("User interacts with the cart", 1, function(test) {
66
// initial load and login
7-
casper.start("http://frontend:8080/", function() {
7+
casper.start("http://front-end:8080/", function() {
88
this.clickLabel("Login");
99
this.fill("#login-modal form", {
1010
"username": "Eve_Berger",

test/e2e/catalogue_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require("./config");
44

55
casper.test.begin("User interacts with the catalogue", 2, function(test) {
6-
casper.start("http://frontend:8080/", function() {
6+
casper.start("http://front-end:8080/", function() {
77
this.waitForText("Catalogue", function() {
88
this.clickLabel("Catalogue");
99
}, function() {

test/e2e/checkout_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
casper.test.begin("User buys some socks", 5, function(test) {
88
// initial load and login
9-
casper.start("http://frontend:8080/", function() {
9+
casper.start("http://front-end:8080/", function() {
1010
this.clickLabel("Login");
1111
this.fill("#login-modal form", {
1212
"username": "Eve_Berger",

test/e2e/homepage_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
require("./config")
55

66
casper.test.begin('Home page looks sexy', 5, function suite(test) {
7-
casper.start("http://frontend:8080/", function() {
7+
casper.start("http://front-end:8080/", function() {
88
test.assertTitle("WeaveSocks", "homepage title is the one expected");
99
test.assertTextExists("Login", "login link is present");
1010
test.assertNotVisible("ul.menu li.howdy", "user is not logged in");

test/e2e/login_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
require("./config");
55

66
casper.test.begin("User logs in", 3, function suite(test) {
7-
casper.start("http://frontend:8080/", function() {
7+
casper.start("http://front-end:8080/", function() {
88
test.assertNotVisible("#login-modal", "user does not see the login dialogue");
99

1010
this.clickLabel("Login");

0 commit comments

Comments
 (0)