Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b318963
Merge pull request #191 from rtCamp/develop
zeel-codder May 13, 2025
e1896eb
Merge pull request #208 from rtCamp/develop
zeel-codder May 19, 2025
db66fea
Merge pull request #225 from rtCamp/develop
zeel-codder May 26, 2025
8a7f7ba
Merge pull request #236 from rtCamp/develop
niraj2477 Jun 2, 2025
8183d96
Merge pull request #238 from rtCamp/develop
zeel-codder Jun 9, 2025
f741a51
Merge pull request #253 from rtCamp/develop
zeel-codder Jun 17, 2025
7e80859
Merge pull request #258 from rtCamp/develop
zeel-codder Jun 23, 2025
e001695
Merge pull request #262 from rtCamp/develop
zeel-codder Jun 30, 2025
dc41e66
Merge pull request #265 from rtCamp/develop
zeel-codder Jul 7, 2025
bf0dd70
Merge pull request #270 from rtCamp/develop
zeel-codder Jul 14, 2025
f8ba05b
Merge pull request #274 from rtCamp/develop
zeel-codder Jul 21, 2025
7d98dca
Merge pull request #276 from rtCamp/develop
niraj2477 Jul 29, 2025
021b795
Merge pull request #279 from rtCamp/develop
niraj2477 Aug 4, 2025
c1361c8
Merge pull request #284 from rtCamp/develop
zeel-codder Aug 11, 2025
551c366
Merge pull request #288 from rtCamp/develop
niraj2477 Aug 18, 2025
64ef0a6
Merge pull request #291 from rtCamp/develop
zeel-codder Aug 25, 2025
461e36c
Merge pull request #294 from rtCamp/develop
zeel-codder Sep 1, 2025
9f1f45e
Merge pull request #304 from rtCamp/develop
zeel-codder Sep 8, 2025
6c5bcb1
Merge pull request #308 from rtCamp/develop
zeel-codder Sep 15, 2025
40925e2
Merge pull request #310 from rtCamp/develop
zeel-codder Sep 22, 2025
3b9b1ea
Merge pull request #312 from rtCamp/develop
zeel-codder Oct 6, 2025
64a4313
Merge pull request #317 from rtCamp/develop
zeel-codder Oct 27, 2025
2611781
Potential fix for code scanning alert no. 5: Code injection
maharrshi Nov 4, 2025
7146007
fix : lint issues
Nov 4, 2025
c957cb9
fix : security issue for pipeline
Nov 4, 2025
72ebcc0
fix : playwright workflow
Nov 4, 2025
5ac9e99
fix : updated read me file
Nov 4, 2025
2b11721
fix : lint issue
Nov 4, 2025
b53a006
Potential fix for code scanning alert no. 9: Code injection
maharrshi Nov 5, 2025
d299c81
Potential fix for code scanning alert no. 10: Workflow does not conta…
maharrshi Nov 5, 2025
40a6056
fix : review suggestions
Nov 7, 2025
f36af33
fix : lint issues
Nov 7, 2025
cf49871
fix : copilot suggestions
Nov 12, 2025
6943c7f
fix : lint issues
Nov 12, 2025
fd7210a
Update tests/e2e/README.md
maharrshi Nov 12, 2025
6cbb506
fix indentation
Nov 12, 2025
3519e69
Merge pull request #319 from rtCamp/qa-playwright-framework
maharrshi Nov 12, 2025
18365d0
Merge pull request #326 from rtCamp/develop
niraj2477 Jan 7, 2026
5144386
chore: add dependabot configuration (#340)
iamimmanuelraj Jan 13, 2026
8b3440f
Add frappe dependency to pyproject.toml (#353)
iamimmanuelraj Feb 4, 2026
cf2a78f
Fix typo in required_apps list
zeel-codder Feb 5, 2026
51f307f
Update required apps in hooks.py
zeel-codder Feb 5, 2026
70e45e2
Update pyproject.toml
zeel-codder Feb 9, 2026
39d1d4b
Update hooks.py
zeel-codder Feb 9, 2026
a55a63c
Merge pull request #355 from rtCamp/patch-1-fc
zeel-codder Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "terraform"
directory: "/"
schedule:
interval: "daily"
37 changes: 23 additions & 14 deletions .github/workflows/e2e-playwright-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Next-CRM Playwright Tests
permissions:
contents: read

# Controls when the workflow will run
on:
Expand All @@ -16,11 +18,13 @@ jobs:

test:
if: |
(github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') || success()
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule' ||
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
runs-on: self-hosted
container:
image: ubuntu:24.04
environment: Stage # Retrive secrets from 'Stage' environment
environment: Stage # Retrieve secrets from 'Stage' environment
env:
BASE_URL: ${{ secrets.BASE_URL }}

Expand All @@ -43,13 +47,13 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: "frontend/.nvmrc"
node-version: "18"

- name: Cache npm modules
uses: actions/cache@v4
with:
path: /github/home/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

Expand All @@ -67,10 +71,12 @@ jobs:

- name: Sanitize branch name
shell: bash
env:
UNTRUSTED_PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
# PR → use the source branch name
RAW_BRANCH="${{ github.head_ref }}"
if [ "${{ github.event_name }}" = "pull_request_review" ]; then
# PR Review → use the source branch name
RAW_BRANCH="$UNTRUSTED_PR_HEAD_REF"
else
# workflow_dispatch or schedule → use whatever ref we were on
RAW_BRANCH="${GITHUB_REF#refs/heads/}"
Expand All @@ -79,7 +85,6 @@ jobs:
SAFE_BRANCH="${RAW_BRANCH//\//-}"
echo "SANITIZED_REF=${SAFE_BRANCH}" >> $GITHUB_ENV
echo "→ Restoring/uploading history under key: ${SAFE_BRANCH}"

- name: Debug—print refs
run: |
echo "EVENT_NAME = ${{ github.event_name }}"
Expand Down Expand Up @@ -118,8 +123,8 @@ jobs:
# Install dependencies
- name: Install dependencies
run: |
npm ci
cd tests/e2e/
npm ci
npx playwright install --with-deps

- name: Setup Java
Expand Down Expand Up @@ -247,13 +252,17 @@ jobs:

- name: Set the email body message for pull request merge or schedule message
if: ${{ success() || failure() }}
env:
PR_TITLE: ${{ github.event.pull_request.title }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
if [ "${GITHUB_EVENT_NAME}" = "pull_request" ]; then
echo "message=<p>For the latest pull request merge titled <b><a href='${{ github.event.pull_request.html_url }}'> ${{ github.event.pull_request.title }}</a></b>, the E2E automation tests have been executed on the QE environment. Below is the summary:</p>" >> $GITHUB_ENV
if [ "${GITHUB_EVENT_NAME}" = "pull_request_review" ]; then
# Sanitize PR_TITLE to prevent environment variable injection
SANITIZED_PR_TITLE="$(echo "$PR_TITLE" | tr -d '\n' | tr -d '\r')"
echo "message=<p>For the latest pull request titled <b><a href='$PR_URL'> $SANITIZED_PR_TITLE</a></b>, the E2E automation tests have been executed on the QE environment. Below is the summary:</p>" >> $GITHUB_ENV
else
echo "message=<p>This is to inform you that the scheduled E2E automation tests have been executed on the QE environment. Below is the summary:</p>" >> $GITHUB_ENV
fi

- name: Send Report via Email
if: ${{ success() || failure() }}
uses: dawidd6/action-send-mail@v3
Expand All @@ -262,7 +271,7 @@ jobs:
server_port: 587
username: ${{ secrets.QA_WORKFLOW_EMAIL }}
password: ${{ secrets.QA_WORKFLOW_EMAIL_PASSWORD }}
subject: Test Automation Report - Next PMS
subject: Test Automation Report - Next CRM
html_body: |
<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion next_crm/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Apps
# ------------------

required_apps = ["frappe/erpnext", "rtCamp/frappe-search"]
required_apps = ["frappe/erpnext", "rtCamp/frappe_search"]

add_to_apps_screen = [
{
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"

# These dependencies are only installed when developer mode is enabled
[tool.bench.dev-dependencies]
# [tool.bench.dev-dependencies]
# package_name = "~=1.1.0"

[tool.ruff]
Expand Down Expand Up @@ -59,3 +59,6 @@ typing-modules = ["frappe.types.DF"]
quote-style = "double"
indent-style = "space"
docstring-code-format = true

[tool.bench.frappe-dependencies]
frappe = ">=15.0.0,<=16.0.0"
2 changes: 1 addition & 1 deletion tests/e2e/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ EMP2_NAME=
EMP3_ID=
EMP3_EMAIL=
EMP3_PASS=
EMP3_NAME=
EMP3_NAME=
Loading
Loading