plum-e2e 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +11 -0
- package/.husky/pre-commit +1 -1
- package/.prettierignore +21 -21
- package/LICENSE +677 -677
- package/backend/Dockerfile +30 -30
- package/backend/_scaffold/features/LoginPage.feature +5 -5
- package/frontend/Dockerfile +26 -26
- package/package.json +2 -2
- package/resources/comments-format.text +22 -22
- package/resources/gpl-3.0-license.txt +13 -13
package/backend/Dockerfile
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
#
|
|
2
|
-
# This file is part of Plum.
|
|
3
|
-
#
|
|
4
|
-
# Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
# it under the terms of the GNU General Public License as published by
|
|
6
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
# (at your option) any later version.
|
|
8
|
-
#
|
|
9
|
-
# Plum is distributed in the hope that it will be useful,
|
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
# GNU General Public License for more details.
|
|
13
|
-
#
|
|
14
|
-
# You should have received a copy of the GNU General Public License
|
|
15
|
-
# along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
FROM mcr.microsoft.com/playwright:v1.41.1
|
|
19
|
-
WORKDIR /app
|
|
20
|
-
|
|
21
|
-
COPY package.json package-lock.json ./
|
|
22
|
-
RUN npm install
|
|
23
|
-
RUN npx playwright install --with-deps
|
|
24
|
-
|
|
25
|
-
COPY . .
|
|
26
|
-
|
|
27
|
-
RUN npm run create-env && sed -i 's/^IS_HEADLESS=false/IS_HEADLESS=true/' .env
|
|
28
|
-
|
|
29
|
-
EXPOSE 3001
|
|
30
|
-
CMD ["node", "server.js"]
|
|
1
|
+
#
|
|
2
|
+
# This file is part of Plum.
|
|
3
|
+
#
|
|
4
|
+
# Plum is free software: you can redistribute it and/or modify
|
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
# (at your option) any later version.
|
|
8
|
+
#
|
|
9
|
+
# Plum is distributed in the hope that it will be useful,
|
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
# GNU General Public License for more details.
|
|
13
|
+
#
|
|
14
|
+
# You should have received a copy of the GNU General Public License
|
|
15
|
+
# along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
+
#
|
|
17
|
+
|
|
18
|
+
FROM mcr.microsoft.com/playwright:v1.41.1
|
|
19
|
+
WORKDIR /app
|
|
20
|
+
|
|
21
|
+
COPY package.json package-lock.json ./
|
|
22
|
+
RUN npm install
|
|
23
|
+
RUN npx playwright install --with-deps
|
|
24
|
+
|
|
25
|
+
COPY . .
|
|
26
|
+
|
|
27
|
+
RUN npm run create-env && sed -i 's/^IS_HEADLESS=false/IS_HEADLESS=true/' .env
|
|
28
|
+
|
|
29
|
+
EXPOSE 3001
|
|
30
|
+
CMD ["node", "server.js"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@suite-1
|
|
2
|
-
Feature: Demo Sauce Login
|
|
3
|
-
|
|
4
|
-
@test-1
|
|
5
|
-
Scenario: Verify User Can Login Using Correct Details
|
|
1
|
+
@suite-1
|
|
2
|
+
Feature: Demo Sauce Login
|
|
3
|
+
|
|
4
|
+
@test-1
|
|
5
|
+
Scenario: Verify User Can Login Using Correct Details
|
|
6
6
|
Given I am in Demo Sauce Login page
|
package/frontend/Dockerfile
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
#
|
|
2
|
-
# This file is part of Plum.
|
|
3
|
-
#
|
|
4
|
-
# Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
# it under the terms of the GNU General Public License as published by
|
|
6
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
# (at your option) any later version.
|
|
8
|
-
#
|
|
9
|
-
# Plum is distributed in the hope that it will be useful,
|
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
# GNU General Public License for more details.
|
|
13
|
-
#
|
|
14
|
-
# You should have received a copy of the GNU General Public License
|
|
15
|
-
# along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
FROM node:18-alpine
|
|
19
|
-
WORKDIR /app
|
|
20
|
-
|
|
21
|
-
COPY package.json package-lock.json ./
|
|
22
|
-
RUN npm install
|
|
23
|
-
|
|
24
|
-
COPY . .
|
|
25
|
-
EXPOSE 5173
|
|
26
|
-
CMD ["npm", "run", "dev", "--", "--host"]
|
|
1
|
+
#
|
|
2
|
+
# This file is part of Plum.
|
|
3
|
+
#
|
|
4
|
+
# Plum is free software: you can redistribute it and/or modify
|
|
5
|
+
# it under the terms of the GNU General Public License as published by
|
|
6
|
+
# the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
# (at your option) any later version.
|
|
8
|
+
#
|
|
9
|
+
# Plum is distributed in the hope that it will be useful,
|
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
# GNU General Public License for more details.
|
|
13
|
+
#
|
|
14
|
+
# You should have received a copy of the GNU General Public License
|
|
15
|
+
# along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
+
#
|
|
17
|
+
|
|
18
|
+
FROM node:18-alpine
|
|
19
|
+
WORKDIR /app
|
|
20
|
+
|
|
21
|
+
COPY package.json package-lock.json ./
|
|
22
|
+
RUN npm install
|
|
23
|
+
|
|
24
|
+
COPY . .
|
|
25
|
+
EXPOSE 5173
|
|
26
|
+
CMD ["npm", "run", "dev", "--", "--host"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plum-e2e",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/silverlunah/plum.git"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"description": "A detached test automation environment that combines Playwright and Cucumber with a Svelte frontend and an Express backend. It allows users to trigger tests, monitor reports, and schedule test runs through an intuitive UI.",
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"init": "(npm install) && (cd backend && npm install && npm run create-env && node config/scripts/create-settings.js) && (cd
|
|
11
|
+
"init": "(npm install) && (cd backend && npm install && npm run create-env && node config/scripts/create-settings.js) && (cd frontend && npm install && echo 'Frontend install complete')",
|
|
12
12
|
"format": "prettier --write .",
|
|
13
13
|
"add-license": "npx license-check-and-add add -f license-config.json",
|
|
14
14
|
"prepare": "husky",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/*
|
|
2
|
-
This file is part of Plum.
|
|
3
|
-
|
|
4
|
-
Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
it under the terms of the GNU General Public License as published by
|
|
6
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
(at your option) any later version.
|
|
8
|
-
|
|
9
|
-
Plum is distributed in the hope that it will be useful,
|
|
10
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
GNU General Public License for more details.
|
|
13
|
-
|
|
14
|
-
You should have received a copy of the GNU General Public License
|
|
15
|
-
along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
-
*/
|
|
17
|
-
/* -----------------------------------------------------
|
|
18
|
-
* Title
|
|
19
|
-
* Description:
|
|
20
|
-
* - Description of what this section/function does
|
|
21
|
-
* Params:
|
|
22
|
-
* - param1: brief description of parameter
|
|
1
|
+
/*
|
|
2
|
+
This file is part of Plum.
|
|
3
|
+
|
|
4
|
+
Plum is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU General Public License as published by
|
|
6
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
(at your option) any later version.
|
|
8
|
+
|
|
9
|
+
Plum is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU General Public License
|
|
15
|
+
along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
16
|
+
*/
|
|
17
|
+
/* -----------------------------------------------------
|
|
18
|
+
* Title
|
|
19
|
+
* Description:
|
|
20
|
+
* - Description of what this section/function does
|
|
21
|
+
* Params:
|
|
22
|
+
* - param1: brief description of parameter
|
|
23
23
|
* ------------------------------------------------------ */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
This file is part of Plum.
|
|
2
|
-
|
|
3
|
-
Plum is free software: you can redistribute it and/or modify
|
|
4
|
-
it under the terms of the GNU General Public License as published by
|
|
5
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
6
|
-
(at your option) any later version.
|
|
7
|
-
|
|
8
|
-
Plum is distributed in the hope that it will be useful,
|
|
9
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
-
GNU General Public License for more details.
|
|
12
|
-
|
|
13
|
-
You should have received a copy of the GNU General Public License
|
|
1
|
+
This file is part of Plum.
|
|
2
|
+
|
|
3
|
+
Plum is free software: you can redistribute it and/or modify
|
|
4
|
+
it under the terms of the GNU General Public License as published by
|
|
5
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
6
|
+
(at your option) any later version.
|
|
7
|
+
|
|
8
|
+
Plum is distributed in the hope that it will be useful,
|
|
9
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11
|
+
GNU General Public License for more details.
|
|
12
|
+
|
|
13
|
+
You should have received a copy of the GNU General Public License
|
|
14
14
|
along with Plum. If not, see https://www.gnu.org/licenses/.
|