@@ -5,14 +5,14 @@ class MyChartMakerClass(BaseCase):
5
5
6
6
def test_seleniumbase_chart (self ):
7
7
self .create_presentation (theme = "league" , transition = "slide" )
8
- self .create_pie_chart (title = "There are 4 core areas of SeleniumBase:" )
9
- self .add_data_point ("Basic API (Test methods/functions )" , 1 )
10
- self .add_data_point ("Command-line Options (pytest Options )" , 1 )
8
+ self .create_pie_chart (title = "The 4 core areas of SeleniumBase:" )
9
+ self .add_data_point ("Basic API (test methods)" , 1 )
10
+ self .add_data_point ("Command-line options (pytest options )" , 1 )
11
11
self .add_data_point ("The Console Scripts interface" , 1 )
12
12
self .add_data_point ("Advanced API (Tours, Charts, & Presentations)" , 1 )
13
13
self .add_slide ("<p>SeleniumBase core areas</p>" + self .extract_chart ())
14
14
self .add_slide (
15
- "<p>Basic API (Test methods/functions) Example</p>" ,
15
+ "<p>Basic API (test methods). Example test: </p>" ,
16
16
code = (
17
17
'from seleniumbase import BaseCase\n \n '
18
18
'class MyTestClass(BaseCase):\n \n '
@@ -27,20 +27,23 @@ def test_seleniumbase_chart(self):
27
27
' self.click_link_text("comic #249")\n '
28
28
' self.assert_element(\' img[alt*="Chess"]\' )\n ' ))
29
29
self .add_slide (
30
- "<p>Command-line Options Example </p>" ,
30
+ "<p>Command-line options. Examples: </p>" ,
31
31
code = (
32
32
'$ pytest my_first_test.py\n '
33
33
'$ pytest test_swag_labs.py --mobile\n '
34
34
'$ pytest edge_test.py --browser=edge\n '
35
35
'$ pytest basic_test.py --headless\n '
36
- '$ pytest my_first_test.py --demo\n '
36
+ '$ pytest my_first_test.py --demo --guest \n '
37
37
'$ pytest basic_test.py --slow\n '
38
38
'$ pytest -v -m marker2 --headless --save-screenshot\n '
39
- '$ pytest test_suite.py --reuse-session --html=report.html\n '
40
- '$ pytest basic_test.py --incognito\n '
41
- '$ pytest parameterized_test.py --guest --reuse-session\n ' ))
39
+ '$ pytest parameterized_test.py --reuse-session\n '
40
+ '$ pytest test_suite.py --html=report.html --rs\n '
41
+ '$ pytest test_suite.py --dashboard --html=report.html\n '
42
+ '$ pytest github_test.py --demo --disable-csp\n '
43
+ '$ pytest test_suite.py -n=2 --rs --crumbs\n '
44
+ '$ pytest basic_test.py --incognito\n ' ))
42
45
self .add_slide (
43
- "<p>Console scripts interface Example </p>" ,
46
+ "<p>The Console Scripts interface. Examples: </p>" ,
44
47
code = (
45
48
'$ sbase install chromedriver\n '
46
49
'$ sbase install chromedriver latest\n '
@@ -57,7 +60,7 @@ def test_seleniumbase_chart(self):
57
60
'$ sbase grid-hub stop\n '
58
61
'$ sbase options\n ' ))
59
62
self .add_slide (
60
- '<p>Advanced API (creating a presentation) Example </p>' ,
63
+ '<p>Advanced API. "Presenter" example: </p>' ,
61
64
code = (
62
65
'from seleniumbase import BaseCase\n \n '
63
66
'class MyPresenterClass(BaseCase):\n \n '
0 commit comments