@@ -41,81 +41,6 @@ describe('bubble nub', () => {
4141 } ;
4242 } ) ;
4343
44- describe ( 'with avatar initials' , ( ) => {
45- beforeEach ( ( ) => {
46- props = {
47- ...props ,
48- styleOptions : {
49- ...props . styleOptions ,
50- botAvatarInitials : 'WC' ,
51- userAvatarInitials : 'WW'
52- }
53- } ;
54- } ) ;
55-
56- test ( 'and carousel with a message should have nub on message only' , async ( ) => {
57- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
58-
59- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout carousel' ) ;
60- } ) ;
61-
62- test ( 'and carousel without a message should not have nubs' , async ( ) => {
63- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
64-
65- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'carousel' ) ;
66- } ) ;
67-
68- test ( 'and stacked without a message should not have nubs' , async ( ) => {
69- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
70-
71- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout single' ) ;
72- } ) ;
73-
74- test ( 'and a single message should have nub' , async ( ) => {
75- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
76-
77- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'Hello, World!' ) ;
78- } ) ;
79-
80- test ( 'and carousel with a single attachment should have nub on message only' , async ( ) => {
81- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
82-
83- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout single carousel' ) ;
84- } ) ;
85- } ) ;
86-
87- describe ( 'without avatar initials' , ( ) => {
88- test ( 'and carousel with a message should have nub on message only and indented' , async ( ) => {
89- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
90-
91- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout carousel' ) ;
92- } ) ;
93-
94- test ( 'and carousel without a message should not have nubs and indented' , async ( ) => {
95- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
96-
97- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'carousel' ) ;
98- } ) ;
99-
100- test ( 'and stacked without a message should not have nubs and indented' , async ( ) => {
101- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
102-
103- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout single' ) ;
104- } ) ;
105-
106- test ( 'and a single message should have nub and indented' , async ( ) => {
107- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
108-
109- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'Hello, World!' ) ;
110- } ) ;
111-
112- test ( 'and carousel with a single attachment should have nub on message only' , async ( ) => {
113- const { driver, pageObjects } = await setupWebDriver ( { props, zoom : 3 } ) ;
114-
115- await sendMessageAndMatchSnapshot ( driver , pageObjects , 'layout single carousel' ) ;
116- } ) ;
117- } ) ;
118-
11944 describe ( 'at corner with offset' , ( ) => {
12045 test ( 'of 5px should have corner radius of 5px' , async ( ) => {
12146 const { driver, pageObjects } = await setupWebDriver ( {
0 commit comments