test: the default test should be more specific to shiny/golem instead of just expecting a body
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 11
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Description
- Currently the test is the following one :
import { test, expect } from '@playwright/test';
test('has body', async ({ page }) => {
await page.goto('http://127.0.0.1:3000');
await expect(page.locator('body')).toBeVisible();
});
I feel like we could have a better test that fits shiny / golem and that would serve as a good starting point
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the default Playwright test shown in the issue and inspect how the Shiny/golem app is exposed at http://127.0.0.1:3000. Define an app-specific expectation instead of only checking body visibility, then run the default test to confirm it passes against the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, r
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100