Skip to content

Commit 3ce7c97

Browse files
authored
Merge pull request #957 from testsigmahq/dev
Updated existing docs
2 parents 70a7f5a + 4225365 commit 3ce7c97

59 files changed

Lines changed: 712 additions & 652 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/staging-cd.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
push:
44
branches:
55
- 'dev'
6+
permissions:
7+
id-token: write
8+
contents: read
9+
610
jobs:
711
StagingDeploy:
812
runs-on: ubuntu-latest
@@ -26,6 +30,8 @@ jobs:
2630
run: |
2731
rm -rf .env
2832
touch .env
33+
echo AWS_ROLE_ARN=${{ secrets.WEBSITE_AWS_GITHUB_OIDC_ROLE_ARN }} >> .env
34+
echo AWS_DEFAULT_REGION=us-east-1 >> .env
2935
echo BUCKET_NAME=${{ secrets.WEBSITE_STAGING_BUCKET_NAME }} >> .env
3036
echo HOST_NAME=${{ secrets.WEBSITE_STAGING_HOST_NAME }} >> .env
3137
echo ASSET_HOST=${{ secrets.WEBSITE_STAGING_ASSET_HOST }} >> .env
@@ -40,6 +46,15 @@ jobs:
4046
echo TYPESENSE_API_KEY=${{ secrets.WEBSITE_STAGING_TYPESENSE_API_KEY }} >> .env
4147
echo TYPESENSE_SEARCH_API_KEY=${{ secrets.WEBSITE_STAGING_TYPESENSE_SEARCH_API_KEY }} >> .env
4248
cat .env
49+
50+
- name: Configure AWS Credentials
51+
uses: aws-actions/configure-aws-credentials@v4
52+
with:
53+
role-to-assume: ${{ secrets.WEBSITE_AWS_GITHUB_OIDC_ROLE_ARN }}
54+
role-session-name: GitHub_to_AWS_via_FederatedOIDC
55+
aws-region: 'us-east-1'
56+
audience: sts.amazonaws.com
57+
4358
- name: Set environment
4459
run: |
4560
sed -i 's/localhost/website.testsigma.com/g' src/environment.ts
@@ -48,10 +63,6 @@ jobs:
4863
run: |
4964
PREFIX_PATHS=true npm run build && npm run deploy
5065
env:
51-
AWS_ACCESS_KEY_ID: ${{ secrets.WEBSITE_STAGING_AWS_ACCESS_KEY_ID }}
52-
AWS_SECRET_ACCESS_KEY: ${{ secrets.WEBSITE_STAGING_AWS_SECRET_ACCESS_KEY }}
53-
AWS_DEFAULT_REGION: 'us-east-1'
54-
AWS_DEFAULT_OUTPUT: json
5566
TYPESENSE_HOST: ${{ secrets.WEBSITE_STAGING_TYPESENSE_HOST }}
5667
TYPESENSE_PORT: ${{ secrets.WEBSITE_STAGING_TYPESENSE_PORT }}
5768
TYPESENSE_PROTOCOL: ${{ secrets.WEBSITE_STAGING_TYPESENSE_PROTOCOL }}

src/pages/docs/FAQs/web-apps/viewing-full-testplan-execution-video.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,21 @@ When you enable the **Reset session for every test case** option in **Parallel S
3737
## **Disabling the Reset Session in Parallel Settings**
3838

3939
1. On the **Create** or **Edit Test Plan** page, go to the **Add Test Suites & Link Machine Profiles** tab.
40+
![Create or Edit](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_1.png)
4041

4142
2. If the test machine is already linked, click the **Settings** icon under the **Test Machine** tab. Click the **Link to Test Machine** icon to add a new machine profile.
43+
![Settings](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_2.png)
4244

4345
3. In the **Edit Test Machine or Device Profile** overlay, locate the checkbox labelled **Reset session for every test case**.
46+
![Reset](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_3.png)
4447

45-
4. Uncheck this box to disable the reset session for all test cases.
48+
4. Unselect this checkbox to disable the reset session for all test cases.
49+
![Unselect](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_4.png)
4650

47-
5. Click **Create** or **Update Profile** to save your changes. ![disable reset session for test machine](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/disabling_reset_session_for_machine.gif)
51+
5. Click **Create** or **Update Profile** to save your changes.
52+
![disable reset session for test machine](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_5.png)
4853

4954
6. You can now watch the complete video for each test suite under **Run Results > Test Suite > Watch Video**.
50-
![Watch Video](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/WatchVideo_TestSuiteLevel.png)
55+
![Watch Video](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/faq/update_single_video_6.png)
5156

5257
---

src/pages/docs/addons/create-a-post-plan-hook-add-on.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ zip -r addonName.zip . -x ".
6161

6262
Navigate to the add-ons page, select the dropdown for your add-on, and click **Upload Code** option to upload the zipped file.
6363

64-
![Upload code](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/add_on_edit.png)
64+
![Upload code](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_post_plan_hook_1.png)
6565

6666
Other available options:<br>
6767
- **Manage Tags**: Add more tags and labels for categorising them. We can customise the action code.<br>
@@ -72,13 +72,13 @@ Other available options:<br>
7272

7373
Once the code is uploaded, the add-on options dropdown will show an additional option, Publish
7474

75-
![Publish addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/publish_addon.png)
75+
![Publish addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_post_plan_hook_2.png)
7676

7777
If you select to publish your add-on, select one of the following on the Publish Add-on window:
7878
- **Public**: Choose this option if you want to make the add-on available to the testsigma community.
7979
- **Private**: Choose this option if you want to make the add-on available only to users in your organization.
8080

81-
![publish addon in private or public](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/publsh_add_on_pp.png)
81+
![publish addon in private or public](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_post_plan_hook_3.png)
8282

8383
Once requested for publishing, an automatic security check is done internally. Upon the successful completion of the security check, the add-on is published. In case of a security check failure, an email notification would be sent to the user.
8484

@@ -89,6 +89,6 @@ Once requested for publishing, an automatic security check is done internally. U
8989

9090
To try out the add-on you just created, create a new or open an existing test plan and add a test suite and test machine. Navigate to the **Test Plan Settings** tab and click the right arrow before **Hooks** to unhide the feature. Select the add-on and enter the inputs in the custom field.
9191

92-
![Hook enable in testplan](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/overview/hookinput_testplan.png)
92+
![Hook enable in testplan](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_post_plan_hook_4.png)
9393

9494
---

src/pages/docs/addons/install-community-addon.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ Community Addon in Testsigma extend the functionality of your test cases by allo
2929
1. Click on the **Addons** icon from the left navigation bar.
3030
2. On the **Addon Marketplace** Page, you will find a list of all available addons in the **Community** tab. You can either browse through the list or use the search function to find a specific addon by name or description.
3131
3. Click **Install** button you wish to install addon.
32-
4. The addon will be installed and available for use in your test cases after refreshing the page. ![installing community addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/install_addon_marketplace.png)
32+
4. The addon will be installed and available for use in your test cases after refreshing the page.
33+
![installing community addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_comaddon_1.png)
3334

3435
---
3536

@@ -38,9 +39,11 @@ Community Addon in Testsigma extend the functionality of your test cases by allo
3839
Once you've installed an addon, you can use it in your test cases:
3940

4041
1. Go to the **Addon** page from the Dashboard and switch to the **Installed Addon** tab.
41-
2. Click on the installed addon to view its details. A popup will display the addon's available actions. ![view details for installed addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/view_installed_community_addon.png)
42+
2. Click on the installed addon to view its details. A popup will display the addon's available actions.
43+
![view details for installed addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_comaddon_2.png)
4244
3. When authoring a test case, start typing the action related to the installed addon in the test step.
43-
4. The action will appear in the suggestions list, and you can select it to include in your test step. ![use installed addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/using_installed_addon.png)
45+
4. The action will appear in the suggestions list, and you can select it to include in your test step.
46+
![use installed addon](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/addons/update_comaddon_3.png)
4447

4548
[[info | NOTE:]]
4649
| - **Refresh the Page**: After installing an addon, always refresh the page to ensure the actions become available in your test cases.

src/pages/docs/api/environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This endpoint retrieves details for a specific Environment.
4747
|**Response Body (Sample)**| <pre>{<br> "id": 10,<br> "name": "Test environment1",<br> "description": "Test Environment",<br> "createdById": 2,<br> "updatedById": 2,<br> "createdDate": 1732176819137,<br> "updatedDate": 1732176819137,<br> "createdAtEpoch": 1732176819137,<br> "updatedAtEpoch": 1732176819137,<br> "variables": [<br> {<br> "id": 8,<br> "key": "Url",<br> "value": "https://google.com",<br> "isEncrypted": false,<br> "projectId": 9,<br> "isDefault": null,<br> "createdDate": 1732176819179,<br> "updatedDate": 1732176819179,<br> "createdAtEpoch": 1732176819179,<br> "updatedAtEpoch": 1732176819179<br> }<br> ]<br>} </pre> |
4848

4949
The **<ENV\_ID>** can be found in the URL of the Environment details page. Refer to the screenshot below:
50-
![Env ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/Env_ID.png)
50+
![Env ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/rest_api/update_manage_environments_1.png)
5151

5252
[[info | **NOTE**:]]
5353
| To retrieve all environments, use this endpoint with the same method. <br>

src/pages/docs/atto/generative-ai/integrations/xray.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,18 @@ Testsigma integrates with Xray to support test case generation from your existin
3434
## **Integrating Xray with Testsigma**
3535

3636
1. Navigate to **Settings > Integrations**.
37-
![Integrations](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/xaryintn.png)
37+
![Integrations](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/atto/update_rayx_1.png)
3838

3939
2. Enable toggle on **Xray** widget.
40-
![Xray Toggle](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/xraytgl.png)
40+
![Xray Toggle](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/atto/update_rayx_2.png)
4141

4242
3. On the **Xray Details** prompt, enter **Jira Account URL**, **Client Id** and **Client Secret**.
43-
![Xray Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/xraydtls.png)
43+
![Xray Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/atto/update_rayx_3.png)
4444

4545
4. Click on **Save & Enable**.
46-
![Save & Enable](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/xraadtls.png)
46+
![Save & Enable](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/atto/update_rayx_4.png)
4747

4848
[[info | **NOTE**:]]
4949
| If you want to add attachments like logs, screenshots, and videos of execution for the test executions, please check the **Add Attachments to Test**.
5050

51-
Here's a quick GIF demonstrating how to integrate Xray with Testsigma.
52-
![Xray Integration](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/xrayint.gif)
53-
5451
---

src/pages/docs/continuous-integration/aws-labmda.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ With AWS Lambda, you can run code for virtually any application or backend servi
5858

5959

6060
The URL details for the test plan can be taken from **REST API call to start Test Plan** section in Testsigma.
61-
![Get Test Plan ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/trineid.png)
61+
![Get Test Plan ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_awslambda_1.png)
6262

6363

6464
6. Click on **TEST** at the top right corner to trigger the Test Plan.

src/pages/docs/continuous-integration/get-test-plan-details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ This article discusses getting the test plan ID from a pre-existing test plan in
3333

3434

3535
1. Navigate to **Test Plans** and click on the test plan you want to get the ID for.
36-
![Test Plans](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/tpdlsnavtps.png)
36+
![Test Plans](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_test_plan_id_1.png)
3737

3838

3939
2. On the **Test Plan details** page that opens, click on the **CI/CD Integrations** tab.
40-
![CI/CD Integration](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/tpdtls.png)
40+
![CI/CD Integration](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_test_plan_id_2.png)
4141

4242

4343
3. You will find the execution ID for the Test Plan within the **REST API call to start Test Plan** section.
44-
![Get Test Plan ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/trineid.png)
44+
![Get Test Plan ID](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_test_plan_id_3.png)
4545

4646

4747
You can use this test plan ID wherever you need to call the execution of the test plan via Rest API.

src/pages/docs/continuous-integration/rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ To execute a test plan with different Environments, you need to have an Environm
129129

130130
2. On the Environment page, the <ENVIRONMENT\_ID> in the URL `https://app.testsigma.com/ui/td/88/environments/<ENVIRONMENT_ID>/details` is the ID of the environment.
131131

132-
![Environments](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/ttpuapienv.png)
132+
![Environments](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_integ_restapi_1.png)
133133

134134
- For Example, if the URL is `https://app.testsigma.com/ui/td/88/environments/10/details`, the **ID** is **10**.
135135

136136
### **Executing Tests Plans with Different Environments**
137137

138138
1. Navigate to **Test Plans > Test Plan > CI/CD Integrations**, and copy **CURL request** under **REST API to integrate with other tools > REST API call to start Test Plan**.
139-
![CURL](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/ttpuapicurl.png)
139+
![CURL](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/continuous_integration/update_integ_restapi_2.png)
140140

141141
2. Provide the Environment ID in the request body.
142142

src/pages/docs/desired-capabilities/biometric-authentication.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,34 +51,23 @@ In order to Add Biometric Authentication for Android and iOS apps, we can use th
5151
## **Using Biometric Authentication Desired Capability**
5252

5353
1. Click on **Run** from the **Test Case Details** page.
54-
![Run Test Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/barnow.png)
54+
![Run Test Case](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/desired_capabilities/update_biometric_1.png)
5555

5656

5757
2. On the **Ad-Hoc Run** overlay, click on **Desired Capabilities**.
58-
![Ad Hoc Run](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/baahrp.png)
58+
![Ad Hoc Run](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/desired_capabilities/update_biometric_2.png)
5959

6060

6161
3. Enter ***testsigma.allowTouchIdEnroll*** in the **Key** field, select ***Boolean*** as the **Data type**, and set the **Value** as ***True***.
62-
![Capability Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/biadcdetails.png)
62+
![Capability Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/desired_capabilities/update_biometric_3.png)
6363

6464

6565
4. Click on **Run Now** to execute the test case.
66-
![Run Now](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/barunnw.png)
66+
![Run Now](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/desired_capabilities/update_biometric_4.png)
6767

6868

6969
[[info | **NOTE**:]]
7070
| This capability is available only in Testsigma Lab and is not supported in local execution.
7171

7272

73-
74-
Here’s a quick GIF demonstrating how to set the biometric authentication capability.
75-
76-
![Biometric Authentication](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/BiometricAuth-min.gif)
77-
78-
79-
80-
81-
---
82-
83-
84-
73+
---

0 commit comments

Comments
 (0)