-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
157 lines (115 loc) · 13.4 KB
/
package.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "udemy_ko_playwright_ts",
"version": "1.0.0",
"description": "Automated Software Testing with Playwright and Typescript",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"-----------> Comment #11": "UDEMY - Kaniel Outis (Section 2: Playwright Fundamentals) - START",
"test_Assert_ElementText_headless_chromium": "playwright test tests/*/02_Assert_ElementText.spec.ts",
"test_Assert_ElementText_headed_chromium": "playwright test tests/*/02_Assert_ElementText.spec.ts --headed",
"test_Assert_ElementText_headed_webkit": "playwright test tests/*/02_Assert_ElementText.spec.ts --headed --browser=webkit",
"test_Assert_ElementText_headed_firefox": "playwright test tests/*/02_Assert_ElementText.spec.ts --headed --browser=firefox",
"test_Assert_ElementText_headed_all": "playwright test tests/*/02_Assert_ElementText.spec.ts --headed --browser=all",
"test_ClickOnElement_MultipleWays_headed_all": "playwright test tests/*/03_ClickOnElement_MultipleWays.spec.ts --headed --browser=all",
"test_Working_With_Inputs_headed_all": "playwright test tests/*/05_Working_With_Inputs.spec.ts --headed --browser=all",
"test_Assertions_headed_all": "playwright test tests/*/06_Assertions.spec.ts --headed --browser=all",
"test_Annotations_SKIP_all": "playwright test tests/*/07_Annotations_SKIP.spec.ts --headed --browser=all",
"test_Annotations_ONLY_all": "playwright test tests/*/08_Annotations_ONLY.spec.ts --headed --browser=all",
"test_Annotations_DESCRIBE_all": "playwright test tests/*/09_Annotations_DESCRIBE.spec.ts --headed --browser=all",
"test_Tagging_Test_Level_Smoke_all": "playwright test tests/*/10_Tagging_Test_Level.spec.ts --headed --browser=all --grep @Smoke",
"test_Tagging_Test_Level_Sanity_all": "playwright test tests/*/10_Tagging_Test_Level.spec.ts --headed --browser=all --grep @Sanity",
"test_Tagging_Test_Level_BVT_all": "playwright test tests/*/10_Tagging_Test_Level.spec.ts --headed --browser=all --grep @BVT",
"test_Tagging_Test_Level_Regression_all": "playwright test tests/*/10_Tagging_Test_Level.spec.ts --headed --browser=all --grep @Regression",
"test_Tagging_Test_Level_Except_BVT_all": "playwright test tests/*/10_Tagging_Test_Level.spec.ts --headed --browser=all --grep-invert @BVT",
"test_Tagging_Suite_Level_BVT_all": "playwright test tests/*/11_Tagging_Suite_Level.spec.ts --headed --browser=all --grep @BVT",
"test_Tagging_Suite_Level_Regression_all": "playwright test tests/*/11_Tagging_Suite_Level.spec.ts --headed --browser=all --grep @Regression",
"test_Tagging_Suite_Level_Except_BVT_all": "playwright test tests/*/11_Tagging_Suite_Level.spec.ts --headed --browser=all --grep-invert @BVT",
"test_Config": "playwright test tests/*/06_Assertions.spec.ts --config=playwright-custom.config.ts",
"test_Config_Project_Webkit": "playwright test tests/*/06_Assertions.spec.ts --config=playwright-custom.config.ts --project=Webkit",
"test_Config_Project_Chromium": "playwright test tests/*/06_Assertions.spec.ts --config=playwright-custom.config.ts --project=Chromium",
"test_Config_Project_Firefox": "playwright test tests/*/06_Assertions.spec.ts --config=playwright-custom.config.ts --project=Firefox",
"test_Reporter_Line": "playwright test tests/*/06_Assertions.spec.ts --reporter=line",
"test_Reporter_List": "playwright test tests/*/06_Assertions.spec.ts --reporter=list",
"test_Reporter_Dot": "playwright test tests/*/06_Assertions.spec.ts --reporter=dot",
"test_Reporter_JUnit": "playwright test tests/*/06_Assertions.spec.ts --reporter=junit",
"test_Reporter_HTML": "playwright test tests/*/06_Assertions.spec.ts --reporter=html --headed",
"test_Screenshot": "playwright test tests/*/12_Screenshot.spec.ts --headed",
"test_Hooks": "playwright test tests/*/13_Hooks.spec.ts",
"test_CustomFunctions": "playwright test tests/*/14_CustomFunctions.spec.ts",
"test_Playwright_Inspector": "playwright test tests/*/15_Playwright_Inspector.spec.ts --headed",
"test_ArtifactsOnFail_Video_Screenshot": "playwright test tests/*/16_ArtifactsOnFail_Video_Screenshot.spec.ts --headed --config=playwright-custom.config.ts --reporter=html",
"test_Tests_Execution_DEFAULT": "playwright test tests/*/17_Tests_Execution_DEFAULT.spec.ts --headed",
"test_Tests_Execution_SERIAL": "playwright test tests/*/18_Tests_Execution_SERIAL.spec.ts --headed",
"test_Tests_Execution_PARALLEL": "playwright test tests/*/19_Tests_Execution_PARALLEL.spec.ts --headed",
"-----------> Comment #12": "UDEMY - Kaniel Outis (Section 2: Playwright Fundamentals) - END",
"-----------> Comment #13": "UDEMY - Kaniel Outis (Section 3: E2E Testing - Complete Project) - START",
"test_e2e_Config_E2E_Project_Chromium": "playwright test --config=playwright-e2e.config.ts --project=Chromium",
"test_e2e_Login_Logout_Config_E2E_Project_Firefox": "playwright test tests/*/20_Tests_E2E_Login_Logout.spec.ts --config=playwright-e2e.config.ts --project=Firefox",
"test_e2e_FeedbackForm_Config_E2E_Project_Firefox": "playwright test tests/*/21_Tests_E2E_FeedbackForm.spec.ts --config=playwright-e2e.config.ts --project=Firefox",
"test_e2e_Search_KeyboardSimulation_Config_E2E_Project_Firefox": "playwright test tests/*/22_Tests_E2E_Search_KeyboardSimulation.spec.ts --config=playwright-e2e.config.ts --project=Firefox",
"test_e2e_TransferFunds_Dropdown_Config_E2E_Project_Firefox": "playwright test tests/*/23_Tests_E2E_TransferFunds_Dropdown.spec.ts --config=playwright-e2e.config.ts --project=Firefox",
"test_e2e_TransferFunds_Dropdown_Config_E2E_Project_Webkit": "playwright test tests/*/23_Tests_E2E_TransferFunds_Dropdown.spec.ts --config=playwright-e2e.config.ts --project=Webkit",
"test_e2e_FilterTransaction_WebTable_Config_E2E_Project_Chromium": "playwright test tests/*/24_Tests_E2E_FilterTransaction_WebTable.spec.ts --config=playwright-e2e.config.ts --project=Chromium",
"test_e2e_Payment_DatePicker_Config_E2E_Project": "playwright test tests/*/25_Tests_E2E_Payment_DatePicker.spec.ts --config=playwright-e2e.config.ts",
"test_e2e_CurrencyExchange_Config_E2E_Project_Chromium": "playwright test tests/*/26_Tests_E2E_CurrencyExchange.spec.ts --config=playwright-e2e.config.ts --project=Chromium",
"-----------> Comment #14": "UDEMY - Kaniel Outis (Section 3: E2E Testing - Complete Project) - END",
"-----------> Comment #15": "UDEMY - Kaniel Outis (Section 4: Page Objects Pattern) - START",
"test_e2e_POM_Config_E2E_POM_Project_Chromium": "playwright test --config=playwright-e2e-page-objects.config.ts --project=Chromium",
"test_e2e_POM_Login_Logout_Config_E2E_POM_Project_Chromium": "playwright test tests/*/27_Tests_E2E_POM_Login_Logout.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Chromium",
"test_e2e_POM_Search_KeyboardSimulation_Config_E2E_POM_Project_Chromium": "playwright test tests/*/28_Tests_E2E_POM_Search_KeyboardSimulation.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Chromium",
"test_e2e_POM_FeedbackForm_Config_E2E_POM_Project_Webkit": "playwright test tests/*/29_Tests_E2E_POM_FeedbackForm.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Webkit",
"test_e2e_POM_CurrencyExchange_Config_E2E_POM_Project_Firefox": "playwright test tests/*/30_Tests_E2E_POM_CurrencyExchange.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Firefox",
"test_e2e_POM_FilterTransaction_WebTable_Config_E2E_POM_Project_Chromium": "playwright test tests/*/31_Tests_E2E_POM_FilterTransaction_WebTable.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Chromium",
"test_e2e_POM_TransferFunds_Dropdown_Config_E2E_POM_Project_Chromium": "playwright test tests/*/32_Tests_E2E_POM_TransferFunds_Dropdown.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Chromium",
"test_e2e_POM_Payment_DatePicker_Config_E2E_POM_Project_Webkit": "playwright test tests/*/33_Tests_E2E_POM_Payment_DatePicker.spec.ts --config=playwright-e2e-page-objects.config.ts --project=Webkit",
"-----------> Comment #16": "UDEMY - Kaniel Outis (Section 4: Page Objects Pattern) - END",
"-----------> Comment #17": "UDEMY - Kaniel Outis (Section 5: Advanced: Visual Testing) - START",
"test_Visual_FullPage_Snapshot_Config_Custom": "playwright test tests/*/34_Tests_Visual.spec.ts --config=playwright-custom.config.ts",
"test_Visual_POM_Config_Custom_Project_Webkit": "playwright test tests/*/35_Tests_Visual_POM.spec.ts --config=playwright-custom.config.ts --project=Webkit",
"test_Visual_POM_Config_Custom": "playwright test tests/*/35_Tests_Visual_POM.spec.ts --config=playwright-custom.config.ts",
"test_Visual_POM_Config_Custom_Project_Webkit_UpdateSnapshots": "playwright test tests/*/35_Tests_Visual_POM.spec.ts --config=playwright-custom.config.ts --project=Webkit --update-snapshots",
"-----------> Comment #18": "UDEMY - Kaniel Outis (Section 5: Advanced: Visual Testing) - END",
"-----------> Comment #19": "UDEMY - Kaniel Outis (Section 6: Advanced: REST API Testing) - START",
"test_API_GET_Assert_ResponseStatusCode_Reporter_Line": "playwright test tests/*/36_Tests_API_GET_Assert_ResponseStatusCode.spec.ts --headed --reporter=line",
"test_API_GET_Extract_ResponseData_Reporter_Line": "playwright test tests/*/37_Tests_API_GET_Extract_ResponseData.spec.ts --headed --reporter=line",
"test_API_GET_Assert_ResponseData_Reporter_Line": "playwright test tests/*/38_Tests_API_GET_Assert_ResponseData.spec.ts --headed --reporter=line",
"test_API_POST_Assert_ResponseData_Reporter_HTML": "playwright test tests/*/39_Tests_API_POST_Assert_ResponseData.spec.ts --headed --reporter=html",
"test_API_PUT_Assert_ResponseData_Reporter_Junit": "playwright test tests/*/40_Tests_API_PUT_Assert_ResponseData.spec.ts --headed --reporter=junit",
"test_API_DELETE_Assert_ResponseData_Reporter_Dot": "playwright test tests/*/41_Tests_API_DELETE_Assert_ResponseData.spec.ts --headed --reporter=dot",
"test_API_Tutor_Reporter_HTML": "playwright test tests/*/42_Tests_API_Tutor.spec.ts --headed --reporter=html",
"test_API_Tutor_Reporter_List": "playwright test tests/*/42_Tests_API_Tutor.spec.ts --headed --reporter=list",
"-----------> Comment #20": "UDEMY - Kaniel Outis (Section 6: Advanced: REST API Testing) - END",
"-----------> Comment #21": "UDEMY - Kaniel Outis (Section 8: Advanced: Tips & Tricks) - START",
"test_Tips_TestInfoObject": "playwright test tests/*/43_Tests_TestInfoObject.spec.ts --headed",
"test_Tips_Annotation_Skip_ForChromium": "playwright test tests/*/44_Tests_Annotation_Skip.spec.ts --headed --config=playwright-custom.config.ts",
"test_Tips_Annotation_Fixme_ForChromium": "playwright test tests/*/45_Tests_Annotation_Fixme.spec.ts --headed --config=playwright-custom.config.ts",
"test_Tips_Retries_Using_CLI": "playwright test tests/*/46_Tests_Retires_Using_CLI.spec.ts --headed --retries=1",
"test_Tips_Parameterization_MultipleSet_OfData": "playwright test tests/*/47_Tests_Parameterization_MultipleSet_OfData.spec.ts --headed",
"test_Tips_Mouse_Movement_Simulation": "playwright test tests/*/48_Tests_Mouse_Movement_Simulation.spec.ts --headed",
"test_Tips_Multiple_Browser_Tabs": "playwright test tests/*/49_Tests_Multiple_Browser_Tabs.spec.ts --headed",
"test_Tips_DeviceEmulation": "playwright open --device=\"iPhone 11\" https://www.google.com/",
"test_Tips_Generate_PDF_Github_Profile_rajatt95": "playwright pdf https://github.com/rajatt95 ./PDFs/Github_Profile-Rajatt95.pdf",
"test_Tips_Generate_PDF_Github_Page_rajatt95": "playwright pdf https://rajatt95.github.io/ ./PDFs/Github_Page-Rajatt95.pdf --wait-for-timeout=5000",
"test_Tips_CustomizedScreenshot_iPhone_dark_githubProfile_rajatt95": "playwright screenshot --device=\"iPhone 11\" --color-scheme=dark --wait-for-timeout=3000 https://github.com/rajatt95 ./screenshots/iPhone11-dark-github_profile-rajatt95.png",
"test_Tips_CustomizedScreenshot_iPhone_light_githubProfile_rajatt95": "playwright screenshot --device=\"iPhone 11\" --color-scheme=light --wait-for-timeout=3000 https://github.com/rajatt95 ./screenshots/iPhone11-light-github_profile-rajatt95.png",
"test_Tips_Emulate_Browser_Language_&_Timezone": "playwright open --timezone=\"Europe/Rome\" --lang=\"it-IT\" google.com",
"test_Tips_GetRandomNumber": "playwright test tests/*/54_Tests_GetRandomNumber.spec.ts",
"test_Tips_GetRandomString": "playwright test tests/*/55_Tests_GetRandomString.spec.ts",
"test_Tips_GetRandomEmail": "playwright test tests/*/56_Tests_GetRandomEmail.spec.ts",
"-----------> Comment #22": "UDEMY - Kaniel Outis (Section 8: Advanced: Tips & Tricks) - END",
"-----------> Comment #101": "UDEMY - Kaniel Outis (FOLDER wise) - START",
"test_folder_KO_Section_02": "playwright test tests/Section_02_KO_UI_Tests/*.spec.ts --headed",
"test_folder_KO_Section_03": "playwright test tests/Section_03_KO_UI_Tests_e2e/*.spec.ts --headed",
"test_folder_KO_Section_04": "playwright test tests/Section_04_KO_UI_Tests_e2e_PageObjects/*.spec.ts --headed",
"test_folder_KO_Section_05": "playwright test tests/Section_05_KO_UI_Tests_Visual/*.spec.ts --headed",
"test_folder_KO_Section_06": "playwright test tests/Section_06_KO_API_Tests/*.spec.ts --headed",
"-----------> Comment #102": "UDEMY - Kaniel Outis (FOLDER wise) - END"
},
"author": "Rajat Verma",
"license": "ISC",
"dependencies": {
"@playwright/test": "^1.21.1",
"prettier": "^2.6.2"
}
}