tests/e2e: fix logic error
This commit is contained in:
parent
987b3a47d0
commit
c738ea573c
|
@ -1,14 +1,10 @@
|
|||
{% extends "base/page.html" %}
|
||||
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
{% load passbook_is_active %}
|
||||
{% load passbook_utils %}
|
||||
|
||||
{% block page_content %}
|
||||
<pb-sidebar class="pf-c-page__sidebar">
|
||||
</pb-sidebar>
|
||||
<main class="pf-c-page__main">
|
||||
<pb-router-outlet role="main" class="pf-c-page__main" tabindex="-1" id="main-content" defaultUrl="/-/overview/">
|
||||
</pb-router-outlet>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
css,
|
||||
customElement,
|
||||
html,
|
||||
LitElement,
|
||||
|
@ -73,6 +74,11 @@ export class RouterOutlet extends LitElement {
|
|||
CodeMirrorStyle,
|
||||
CodeMirrorTheme,
|
||||
ColorStyles,
|
||||
css`
|
||||
:host {
|
||||
height: 100%;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -105,9 +111,9 @@ export class RouterOutlet extends LitElement {
|
|||
);
|
||||
selectedRoute = new Route(
|
||||
RegExp(""),
|
||||
html`<pb-site-shell url=${activeUrl}
|
||||
><div slot="body"></div
|
||||
></pb-site-shell>`
|
||||
html`<pb-site-shell url=${activeUrl}>
|
||||
<div slot="body"></div>
|
||||
</pb-site-shell>`
|
||||
);
|
||||
}
|
||||
this.activeRoute = selectedRoute;
|
||||
|
|
|
@ -22,8 +22,9 @@ export class SiteShell extends LitElement {
|
|||
static get styles() {
|
||||
return [
|
||||
css`
|
||||
:host {
|
||||
position: relative;
|
||||
:host,
|
||||
::slotted(*) {
|
||||
height: 100%;
|
||||
}
|
||||
:host .pf-l-bullseye {
|
||||
position: absolute;
|
||||
|
|
|
@ -152,7 +152,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
|
|||
sleep(0.5)
|
||||
|
||||
state = outpost.state
|
||||
self.assertTrue(len(state), 1)
|
||||
self.assertEqual(len(state), 1)
|
||||
self.assertEqual(state[0].version, __version__)
|
||||
|
||||
# Make sure to delete the outpost to remove the container
|
||||
|
|
Reference in New Issue