You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -60,23 +61,23 @@ The exercises in this repository are designed to build on each other in a sequen
60
61
Begin your journey into Playwright and Java test automation by setting up your workspace. You have two options to start:
61
62
62
63
1.**Use the `sample-code/start-here` branch:**
63
-
This branch contains a basic starting point with all the necessary configuration files (like a Maven pom.xml file) to help you get started quickly.
64
+
This branch contains a basic starting point with all the necessary configuration files (like a Maven pom.xml file) to help you get started quickly.
64
65
2.**Start with an empty Maven project:**
65
-
If you prefer to set up everything from scratch, you can create your own Maven project and follow along with the course to configure it step by step. This approach is great for reinforcing your understanding of the setup process.
66
+
If you prefer to set up everything from scratch, you can create your own Maven project and follow along with the course to configure it step by step. This approach is great for reinforcing your understanding of the setup process.
66
67
67
68
### Step 2: Follow Along With the Coding Exercises
68
69
Each course module introduces new concepts and techniques, with corresponding exercises for hands-on practice. Follow these steps as you progress:
69
70
70
71
1.**Follow the Exercises in Order:**
71
-
The modules are designed to build upon each other. Completing them in order ensures you gain a solid understanding of each concept before moving to the next.
72
+
The modules are designed to build upon each other. Completing them in order ensures you gain a solid understanding of each concept before moving to the next.
72
73
2.**Reference the Module-Specific Sample Code:**
73
-
Each module's sample code is available in the corresponding branch, named sample-code/<module-name>. For example:
74
+
Each module's sample code is available in the corresponding branch, named sample-code/<module-name>. For example:
74
75
- sample-code/module-3-my-first-playwright-test
75
76
- sample-code/module-6-browser-options
76
-
You can check out these branches to view the sample solution for each module if you get stuck or want to see how the exercises are implemented.
77
+
You can check out these branches to view the sample solution for each module if you get stuck or want to see how the exercises are implemented.
77
78
78
79
3.**Work on the Exercises in Your Own Branch:**
79
-
Create your own branch to experiment with the exercises. For example:
80
+
Create your own branch to experiment with the exercises. For example:
80
81
```bash
81
82
git checkout -b module-3-exercises
82
83
```
@@ -88,43 +89,43 @@ Feel free to submit pull requests or raise issues if you find bugs or areas for
88
89
If you encounter challenges while working through an exercise:
89
90
90
91
1. Check the Sample Solution:
91
-
Switch to the branch for the current module to review the sample code and compare it with your own:
92
+
Switch to the branch for the current module to review the sample code and compare it with your own:
92
93
```bash
93
94
git checkout sample-code/<module-name>
94
95
```
95
96
96
97
2.**Learn From the Solution:**
97
-
Pay attention to how the concepts are applied and implemented. Take note of any differences between your code and the solution, and try to understand why those differences exist.
98
+
Pay attention to how the concepts are applied and implemented. Take note of any differences between your code and the solution, and try to understand why those differences exist.
98
99
99
100
### **Step 4: Starting Fresh at Any Point**
100
101
If you want to start over or reset your work for a specific module:
101
102
102
103
1.**Checkout the Previous Module's Sample Code:**
103
-
Each module builds on the previous one, and the starting point for a module is the final state of the previous module. For example:
104
-
If you are working on Module 5 and want to start fresh, check out the code from sample-code/module-4-interacting-with-elements.
105
-
Use the following command:
104
+
Each module builds on the previous one, and the starting point for a module is the final state of the previous module. For example:
105
+
If you are working on Module 5 and want to start fresh, check out the code from sample-code/module-4-interacting-with-elements.
106
+
Use the following command:
106
107
```bash
107
108
git checkout sample-code/<previous-module-name>
108
109
```
109
110
110
111
2.**Create a New Branch From the Previous Module:**
111
-
After checking out the previous module's sample code, create a new branch to start your work:
112
+
After checking out the previous module's sample code, create a new branch to start your work:
112
113
```bash
113
114
git checkout -b module-5-exercises
114
115
```
115
116
116
117
3.**Continue From the Reset State:**
117
-
Use the previous module's code as the starting point for the new module, and continue with the exercises.
118
+
Use the previous module's code as the starting point for the new module, and continue with the exercises.
118
119
119
120
120
121
### Step 5: Submitting Your Work
121
122
If you are following along as part of the [Serenity Dojo coaching program](http://serenitydojo.academy), you will be able to get feedback about your work from one of the Serenity Dojo coaches. Here is how you do that:
122
123
123
124
1. Push Your Changes to Your Repository:
124
-
Push your completed exercises to your forked repository to save your work:
125
+
Push your completed exercises to your forked repository to save your work:
125
126
```bash
126
127
git push origin <your-branch-name>
127
128
```
128
129
129
130
2. Share Your Branch:
130
-
If requested, share the branch link with your instructor or team for review.
131
+
If requested, share the branch link with your instructor or team for review.
0 commit comments