test: LDP-2498: Add tests for @nuxtjs/i18n integration #577
Annotations
2 errors
Run npm run test:
test/i18n.test.ts#L39
AssertionError: expected '<!DOCTYPE html><html><head><meta char…' to contain 'Another page'
- Expected
+ Received
- Another page
+ <!DOCTYPE html><html><head><meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Welcome</title>
+ <meta name="title" content="Welcome | lupus decoupled">
+ <link rel="canonical" href="https://8080-drunomics-lupusdecouple-fd0ilwlpax7.ws-eu86.gitpod.io/">
+ <link rel="shortlink" href="https://8080-drunomics-lupusdecouple-fd0ilwlpax7.ws-eu86.gitpod.io/">
+ <link rel="alternate" hreflang="de" href="https://8080-drunomics-lupusdecouple-fd0ilwlpax7.ws-eu86.gitpod.io/de">
+ <link rel="alternate" hreflang="en" href="https://8080-drunomics-lupusdecouple-fd0ilwlpax7.ws-eu86.gitpod.io/">
+ <script type="application/ld+json">[]</script>
+ <style>.language-switcher[data-v-0c7c64a4]{background-color:#f8f8f8;border-radius:.5rem;display:inline-flex;list-style:none;margin-left:1rem;padding:.5rem}a[data-v-0c7c64a4]{color:#222;font-size:1rem;padding:.5rem;text-decoration:none;text-transform:uppercase}.active-locale[data-v-0c7c64a4]{border-bottom:2px solid #000}</style>
+ <style>.main-menu[data-v-e0594dd1]{display:inline-flex;list-style:none}.item[data-v-e0594dd1]{color:#222;margin:0 1rem;text-decoration:none}.router-link-active[data-v-e0594dd1]{border-bottom:2px solid #7fffd4}</style>
+ <style>.messages[data-v-0aa6c3bc]{left:0;position:fixed;right:0;top:0;z-index:999}.list-enter-active[data-v-0aa6c3bc],.list-leave-active[data-v-0aa6c3bc]{transition:opacity .5s}.list-enter[data-v-0aa6c3bc],.list-leave-to[data-v-0aa6c3bc]{opacity:0}</style>
+ <style>.breadcrumbs[data-v-c4805bb5]{font-size:smaller;padding:1em}.crumb[data-v-c4805bb5]{display:inline-flex;margin:0 .5em;text-decoration:none;text-transform:uppercase}a[data-v-c4805bb5]:hover{text-decoration:underline}</style>
+ <style>.drupal-tabs[data-v-d64cf282]{margin:0 auto;padding:1em;width:100%}.tabs[data-v-d64cf282]{border-bottom:1px solid #dedede;display:flex;list-style:none;margin:0;padding:0}a[data-v-d64cf282]{border:1px solid transparent;color:#888;display:inline-block;padding:.3em .8em;text-decoration:none;text-transform:uppercase}a[data-v-d64cf282]:hover{border-bottom-color:#444}.visually-hidden[data-v-d64cf282]{overflow:hidden;position:absolute;clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;padding:0;width:1px}</style>
+ <link rel="stylesheet" href="/_nuxt/_...h1RVm9gc.css">
+ <link rel="stylesheet" href="/_nuxt/default.CrqHLXBs.css">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/DcZstnHB.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/CQZTSlcV.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/1_RX4gzA.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/YjUiJ3V1.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/BRisMbZr.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/DhfoyTL1.js">
+ <link rel="modulepreload" as="script" crossorigin href="/_nuxt/CYlJXS4M.js">
+ <link rel="prefetch" as="script" crossorigin href="/_nuxt/oOmUGfos.js">
+ <link rel="prefetch" as="script" crossorigin href="/_nuxt/B6tJvdNx.js">
+ <link rel="prefetch" as="script" crossorigin href="/_nuxt/BuBLTKaI.js">
+ <script type="module" src="/_nuxt/DcZstnHB.js" crossorigin></script></head><body><div id="__nuxt"><div><div><div><div class="language-switcher" data-v-0c7c64a4><!--[--><!--]--></div><ul class="main-menu" data-v-e0594dd1><!--[--><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined" class="item" data-v-e0594dd1></a></li><li data-v-e0594dd1><a href="/undefined
|
Run npm run test
Process completed with exit code 1.
|
Loading