File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ const { wdi5 } = require ( "wdio-ui5-service" )
2
+ const Detail = require ( "./pageObjects/Detail" )
3
+ const Main = require ( "./pageObjects/Main" )
4
+
5
+ /*
6
+ You have all done a great job so far in building an app that passes predefined tests 🎉
7
+ Now it's time to take it one step further and write your own tests 🚀
8
+ For week 4 the task is to write a minimum of 2 tests and make them pass ✅✅
9
+ There are no boundaries, get creative and explore the framework 🎨
10
+
11
+ You can get inspiration here:
12
+ 🗓 test files of the previous weeks
13
+ ℹ️ examples in wdi5 repository: https://github.com/js-soft/wdi5/tree/main/examples/ui5-js-app/e2e-test-config
14
+ 📚 official wdi5 documentation: https://js-soft.github.io/wdi5/#/
15
+
16
+ You can share your results and experience in the SAP Community 💙
17
+ https://groups.community.sap.com/t5/coffee-corner-discussions/sap-community-code-challenge-testing-ui5-apps-with-wdi5/td-p/5229
18
+ */
19
+
20
+ describe ( "week4: main or detail page ..." , ( ) => {
21
+ before ( async ( ) => {
22
+ await Main . open ( )
23
+ // or
24
+ await Detail . open ( )
25
+ } )
26
+
27
+ it ( "" , async ( ) => {
28
+ // your first test
29
+ } )
30
+
31
+ it ( "" , async ( ) => {
32
+ // your second test
33
+ } )
34
+ } )
You can’t perform that action at this time.
0 commit comments