Commit df1036d1 authored by Yadd's avatar Yadd
Browse files

Add portal links test (#1570)

parent 9be9d952
Pipeline #12350 canceled with stage
......@@ -18,6 +18,12 @@ describe('Default app', () => {
expect(await findByText('en Configuration')).toBeInTheDocument();
});
it('should display portal links', async () => {
const { getByText } = render(<App />);
expect(getByText('Back to portal')).toBeInTheDocument();
expect(getByText('Logout')).toBeInTheDocument();
})
it('should be able to change language to fr', async () => {
const { getByAltText, findByText } = render(<App />);
const fr = getByAltText('fr');
......
{
"/doc/": "/doc/",
"authRequired": "Authentication required",
"backtoportal": "Back to portal",
"conf": "Configuration",
"error": "Error",
"forbidden": "You're not authorizated to show this page",
"logout": "Logout",
"networkError": "Network Error",
"notifications": "Notifications",
"ok": "OK",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment