Qfix: remove hardcoded platform url (#5692)

This commit is contained in:
Alexey Zinoviev
2024-05-29 15:17:35 +07:00
committed by GitHub
parent e752bc44a0
commit ea388c0933
+2 -1
View File
@@ -301,7 +301,8 @@ test.describe('channel tests', () => {
})
test('check if user can copy message', async ({ page }) => {
const expectedUrl = `http://localhost:8083/workbench/${data.workspaceName}/chunter/chunter:space:Random|chunter:class:Channel?message=`
const baseURL = process.env.PLATFORM_URI ?? 'http://localhost:8083'
const expectedUrl = `${baseURL}/workbench/${data.workspaceName}/chunter/chunter:space:Random|chunter:class:Channel?message=`
await leftSideMenuPage.clickChunter()
await channelPage.clickChannel('random')
await channelPage.sendMessage('Test message')