Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running UI tests removes tables from dev database #14520

Closed
katebutler opened this issue Jun 11, 2019 · 0 comments · Fixed by #14729
Closed

Running UI tests removes tables from dev database #14520

katebutler opened this issue Jun 11, 2019 · 0 comments · Fixed by #14729
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Milestone

Comments

@katebutler
Copy link

Seems to happen whenever I run any UI tests, e.g.

./console tests:run-ui ScheduledReports

I have my [database_tests] set up to use a different database to my dev one, and the console output suggests this is being used:

    Setting up fixture Piwik\Plugins\ScheduledReports\tests\Fixtures\ReportSubscription...
    Dropping database 'matomotest'...
    Database matomotest marked as successfully set up.

When I next visit Matomo in the browser, I get an error because the user_dashboard table doesn't exist in my dev DB. I've also seen errors due to missing user_language and custom_dimensions tables when trying to run console commands.

@mattab mattab added this to the 3.12.0 milestone Jun 16, 2019
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. labels Jun 16, 2019
@katebutler katebutler self-assigned this Jul 22, 2019
@mattab mattab modified the milestones: 3.13.0, 3.12.0 Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants