Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0ee3611
Update CommunityIssues_Spec.ts
sarojsarab Jun 19, 2023
171c10f
Update test-build-docker-image.yml
sarojsarab Jun 21, 2023
1ccdfdb
Update test-build-docker-image.yml
sarojsarab Jun 22, 2023
f0f1346
Create test.js
sarojsarab Jun 22, 2023
833c5a9
Update client-build.yml
sarojsarab Jun 22, 2023
0d214e5
Update client-build.yml
sarojsarab Jun 22, 2023
142bafd
Update client-build.yml
sarojsarab Jun 22, 2023
1bd2b94
Create test1_regression.ts
sarojsarab Jun 22, 2023
2d3d8f5
Create test2_regressin_app.js
sarojsarab Jun 22, 2023
95a851d
Update client-build.yml
sarojsarab Jun 22, 2023
63ed486
Update client-build.yml
sarojsarab Jun 22, 2023
710f5cd
Update client-build.yml
sarojsarab Jun 22, 2023
7b602b0
Merge branch 'release' into test-backend-check
sarojsarab Jun 22, 2023
cbbab42
Update client-build.yml
sarojsarab Jun 22, 2023
61116ef
Create test3_sanity_datasource.js
sarojsarab Jun 22, 2023
35a4666
Update client-build.yml
sarojsarab Jun 22, 2023
e2e1d3a
Update client-build.yml
sarojsarab Jun 22, 2023
a2208b8
Update client-build.yml
sarojsarab Jun 22, 2023
d983042
Update client-build.yml
sarojsarab Jun 22, 2023
99ecb12
Update client-build.yml
sarojsarab Jun 22, 2023
9c50c48
Update client-build.yml
sarojsarab Jun 22, 2023
05a962a
Update client-build.yml
sarojsarab Jun 22, 2023
ce80c5d
Update client-build.yml
sarojsarab Jun 22, 2023
ad4e03f
Update client-build.yml
sarojsarab Jun 22, 2023
0b9d616
Update client-build.yml
sarojsarab Jun 22, 2023
58acc32
Update client-build.yml
sarojsarab Jun 22, 2023
b16ce98
Update client-build.yml
sarojsarab Jun 22, 2023
ad308c4
Rename test2_regressin_app.js to test2_regressin_app.ts
sarojsarab Jun 22, 2023
e75c4e4
Update client-build.yml
sarojsarab Jun 22, 2023
8dc0a8e
Update client-build.yml
sarojsarab Jun 22, 2023
cf2b297
Rename test3_sanity_datasource.js to test3_sanity_datasource.ts
sarojsarab Jun 22, 2023
80517d1
Rename test.js to test.ts
sarojsarab Jun 22, 2023
95ec218
Update client-build.yml
sarojsarab Jun 22, 2023
ff64923
Update client-build.yml
sarojsarab Jun 22, 2023
b7b66e9
Update client-build.yml
sarojsarab Jun 22, 2023
c2872dd
Update client-build.yml
sarojsarab Jun 22, 2023
3c6bb42
Update client-build.yml
sarojsarab Jun 22, 2023
300279b
Update client-build.yml
sarojsarab Jun 22, 2023
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
29 changes: 26 additions & 3 deletions .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,36 @@ jobs:

# get all the files changes in the cypress/e2e folder
- name: Get changed files in the cypress/e2e folder
id: changed-files
id: files
uses: tj-actions/changed-files@v36
with:
files: cypress/e2e/**
base_sha: ${{ github.event.client_payload.pull_request.base.sha }}
files: app/client/cypress/e2e

- name: Check the newly added files are written in ts
run: echo ${{steps.changed-files.outputs.added_files}}
id: check_files
run: |
files=(${{steps.files.outputs.added_files}})
non_ts_files=()
for file in "${files[@]}"; do
if [[ $file != *.ts ]]; then
non_ts_files+=("<li>$file")
fi
done
echo "non_ts_files=${non_ts_files[@]}" >> $GITHUB_OUTPUT
echo "non_ts_files_count=${#non_ts_files[@]}" >> $GITHUB_OUTPUT

- name: Comment in PR if test files are not written in ts
if: steps.check_files.outputs.non_ts_files_count != 0
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: 6
token: ${{ secrets.PAT }}
body: |
<b>Below files are written in js expected ts. Please fix and rerun the workflow.</b>
<ol>${{ steps.check_files.outputs.non_ts_files }}</ol>
- if: steps.check_files.outputs.non_ts_files_count != 0
run: exit 1

# Create a run record exactly at the time of merge to release to
# ensure we compare run details with code at this point
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ let homePage = ObjectsRegistry.HomePage,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane;


describe("AForce - Community Issues page validations", function () {
before(function () {
agHelper.ClearLocalStorageCache();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("file under regression.app")
1 change: 1 addition & 0 deletions app/client/cypress/e2e/Regression/test1_regression.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("file_under regression folder")
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Test file under sanity datasourece")
1 change: 1 addition & 0 deletions app/client/cypress/e2e/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Test.js file");