An online web application to reduce web issues directly to webplatform tests.
See it live
Visit wptest.center to get started!
- Examine CSS properties of rendered elements. Inspect elements similar to the developer tools avaliable in your browser.
- Add expected values for properties to test against. Useful to test how elements render on various browsers.
- Save prototype tests with your Github account to load later. Or search and load tests made by others.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
npm i -g typescript (in terminal) to install typescript on your machine.
npm i(in terminal while inside the project) to install the required packages.
- If using a version of MongoDB different from 3.6, update the file
C:\Program Files\MongoDB\Server\3.6\bin\mongod.exeto the version of MongoDB installed. (3.6 to your version)
- Create a path
uploads/dbfrom the root of the project. Local MongoDB data will be saved here.
mongo.cmdcommand first. (double-click cmd file from the file explorer or run
complie.cmdon any changes made.
start.cmdto start running locally at http://localhost:3000
wptest-vm.tsx contains the model of the data that the view is in sync with and displays.
wptest.tsx contains the elements and the logic of the view. View elements are written using the React and JSX syntax, but under the hood use mithril as base for a custom framework. Essentially each
Tag represent a DOM element, and can define (bound) attributes which you can use to pass data into it. Additionally, you can define helper functions within the scope of the element, and use local state where appropriate.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
Code of Conduct
Any issues related to the project can be found here. Feel free to submit more for any feature requests or bugs.
Reporting Security Issues
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at email@example.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.
This project is under MIT license described in detail here.