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