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
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,23 +61,23 @@ The exercises in this repository are designed to build on each other in a sequen
61
61
Begin your journey into Playwright and Java test automation by setting up your workspace. You have two options to start:
62
62
63
63
1.**Use the `sample-code/start-here` branch:**
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
+
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.
65
65
2.**Start with an empty Maven project:**
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
+
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.
67
67
68
68
### Step 2: Follow Along With the Coding Exercises
69
69
Each course module introduces new concepts and techniques, with corresponding exercises for hands-on practice. Follow these steps as you progress:
70
70
71
71
1.**Follow the Exercises in Order:**
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
+
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.
73
73
2.**Reference the Module-Specific Sample Code:**
74
-
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:
75
75
- sample-code/module-3-my-first-playwright-test
76
76
- sample-code/module-6-browser-options
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
+
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.
78
78
79
79
3.**Work on the Exercises in Your Own Branch:**
80
-
Create your own branch to experiment with the exercises. For example:
80
+
Create your own branch to experiment with the exercises. For example:
81
81
```bash
82
82
git checkout -b module-3-exercises
83
83
```
@@ -89,43 +89,43 @@ Feel free to submit pull requests or raise issues if you find bugs or areas for
89
89
If you encounter challenges while working through an exercise:
90
90
91
91
1. Check the Sample Solution:
92
-
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:
93
93
```bash
94
94
git checkout sample-code/<module-name>
95
95
```
96
96
97
97
2.**Learn From the Solution:**
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
+
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.
99
99
100
100
### **Step 4: Starting Fresh at Any Point**
101
101
If you want to start over or reset your work for a specific module:
102
102
103
103
1.**Checkout the Previous Module's Sample Code:**
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:
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:
107
107
```bash
108
108
git checkout sample-code/<previous-module-name>
109
109
```
110
110
111
111
2.**Create a New Branch From the Previous Module:**
112
-
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:
113
113
```bash
114
114
git checkout -b module-5-exercises
115
115
```
116
116
117
117
3.**Continue From the Reset State:**
118
-
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.
119
119
120
120
121
121
### Step 5: Submitting Your Work
122
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:
123
123
124
124
1. Push Your Changes to Your Repository:
125
-
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:
126
126
```bash
127
127
git push origin <your-branch-name>
128
128
```
129
129
130
130
2. Share Your Branch:
131
-
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