tests: adapt sidebar to native gadjo sidebar (#22440)
This commit is contained in:
parent
cfa1fed9c3
commit
265752b496
|
@ -690,7 +690,7 @@ def test_page_cell_placeholder(app, admin_user):
|
|||
resp = app.get('/manage/pages/%s/' % page.id)
|
||||
assert re.findall('data-placeholder-key="(.*)">', resp.body) == ['content', 'foobar', 'footer']
|
||||
assert re.findall('<h2>(.*)</h2>', resp.body) == [
|
||||
'Page - One', 'Parameters', 'Content', 'JSON Feed / Foobar', 'Footer']
|
||||
'Page - One', 'Content', 'JSON Feed / Foobar', 'Footer']
|
||||
|
||||
def test_page_familycell_placeholder(app, admin_user):
|
||||
page = Page(title='My family', slug='my-family', template_name='standard')
|
||||
|
@ -702,7 +702,7 @@ def test_page_familycell_placeholder(app, admin_user):
|
|||
resp = app.get('/manage/pages/%s/' % page.id)
|
||||
assert re.findall('data-placeholder-key="(.*)">', resp.body) == ['content', "family_unlinked_user", "footer"]
|
||||
assert re.findall('<h2>(.*)</h2>', resp.body) == [
|
||||
'Page - My family', 'Parameters', 'Content',
|
||||
'Page - My family', 'Content',
|
||||
'Family Information Cell / Top content for unlinked users', 'Footer']
|
||||
|
||||
def test_page_discover_placeholder_with_error_cells(app, admin_user):
|
||||
|
|
Loading…
Reference in New Issue