1
1
from seleniumbase import BaseCase
2
2
3
3
4
- class MyChartMakerClass (BaseCase ):
4
+ class ChartMakerPresentation (BaseCase ):
5
5
6
6
def test_chart_maker_presentation (self ):
7
7
self .create_presentation (theme = "sky" , transition = "zoom" )
@@ -12,13 +12,13 @@ def test_chart_maker_presentation(self):
12
12
self .add_data_point ("Failed" , 1 , color = "#f1888f" )
13
13
self .add_slide ("<p>Pie Chart</p>" + self .extract_chart ())
14
14
15
- self .create_bar_chart (title = "Language" , libs = False )
15
+ self .create_bar_chart (title = "Language" , libs = False , legend = False )
16
16
self .add_data_point ("Python" , 33 , color = "Orange" )
17
17
self .add_data_point ("JavaScript" , 27 , color = "Teal" )
18
18
self .add_data_point ("HTML + CSS" , 21 , color = "Purple" )
19
19
self .add_slide ("<p>Bar Chart</p>" + self .extract_chart ())
20
20
21
- self .create_column_chart (title = "Colors" , libs = False )
21
+ self .create_column_chart (title = "Colors" , libs = False , legend = False )
22
22
self .add_data_point ("Red" , 10 , color = "Red" )
23
23
self .add_data_point ("Green" , 25 , color = "Green" )
24
24
self .add_data_point ("Blue" , 15 , color = "Blue" )
0 commit comments