-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.sh
executable file
·71 lines (42 loc) · 2.55 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#run all test
if [ "$1" = "all" ]; then
npm run test
exit
elif [ "$1" = "coverage" ]; then
npm run test:coverage
exit
elif [ "$1" = "-t" ]; then
npm run test -- -t "$2"
exit
else
#npm run test -- -t 'send good data to server' # 'change checkout to is pay' # 'images tests'
#npm run test -- -t 'save new menu - display error and clear msg after change menu name'
#npm run test -- -t 'display good message and click add menu button'
#npm run test ./src/App.spec.js # -- -t 'prevent redirect to login page when user is auth' # 'click sign out link'
#npm run test ./src/App.spec.js -- -t "in nav bar cache enable by click input toggle cache"
#npm run test ./src/pages/UserEditPage.spec.js #-- -t 'load client data'
#npm run test ./src/pages/UsersPage.spec.js
#npm run test ./src/pages/ProductsPage.spec.js -- -t "show data in table"
#npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'delete many images success'
#npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'click icon delete many images without check any item'
#npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'click icon delete many images'
######npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'image position down success'
#npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'pages images tests'
#npm run test ./src/pages/MenuPagesPage.spec.js -- -t 'image delete success'
#npm run test ./src/pages/MenuPagesPageLangs.spec.js
#npm run test ./src/pages/LoginPage.spec.js -- -t "send good data to server"
npm run test ./src/pages/LoginPage.spec.js
#npm run test ./src/helpers/functions.spec.js
#npm run test ./src/pages/ProductEditPage.spec.js
#npm run test ./src/pages/ProductEditPage.spec.js -- -t "add product with errors"
#npm run test ./src/pages/ProductEditPage.spec.js -- -t "Products images tests"
#npm run test ./src/pages/ProductEditPage.spec.js -- -t "delete many images success"
#npm run test ./src/pages/ProductEditPage.spec.js -- -t "add product by click"
######npm run test ./src/pages/ProductEditPageImage.spec.js
#npm run test ./src/pages/ContactsPage.spec.js
#npm run test ./src/pages/SettingsPage.spec.js
#npm run test ./src/pages/CheckoutsPage.spec.js -- -t "change checkout to is pay"
#npm run test ./src/pages/MenuPagesPageDemo.spec.js
#npm run test ./src/pages/ProductEditPageImageDemo.spec.js
#npm run test ./src/pages/SettingsPageError.spec.js
fi