victoriavasys / final-assessment Goto Github PK
View Code? Open in Web Editor NEWFinal assessment for Mod 4 Turing
Home Page: https://vv-m4-final-assessment.herokuapp.com/
Final assessment for Mod 4 Turing
Home Page: https://vv-m4-final-assessment.herokuapp.com/
When I visit the main page (links#index),
(I should see a form to submit a link),
When I fill in a valid URL,
And I fill in a title,
And I click 'Submit',
And I should see my link immediately (and only my links)
(links default to "read" status false)
(invalid link should prompt error message with reason why)
When I visit the 'links index' page,
I should see a link to "Sign Out" (and not see "Sign in"
When I click "Sign Out",
I should be redirected to the login-path,
And I should see "Sign In or Sign Up"
If one of my links is hot (top-10),
And I visit the 'links#index',
I should see it marked as "hot".
If one of my links is in number one,
I should see it marked as "top link"
When I visit '/',
I should be redirect to a page which prompts "Sign In or Sign up",
When I click "Sign Up",
I should be redirected to a page with a form;
When I fill in my email address,
password, and
password confirmation,
And click 'submit',
I Should be logged in and redirected to the "Links Index" page (if my email hasn't been used, I filled in every field, pass & conf matched; otherwise flash msg)
When I mark something 'read',
And I visit Hot Reads index,
I should see the 10-most-read URLs (no titles) (reads from last 24 hours)
When I visit signup/signin path,
And I fill in my username/password,
And click "Sign In",
I am redirected to the links index, and
I receive a flash message to reflect a successful or unsuccessful log in attempt
If I have created links,
When I visit 'links#index'
And I submit a new link,
I should see that link at the top of the list
And I should see a success (or error) flash message
If I have added links,
When I visit 'links index',
And I click on "Edit" (button),
I should be redirected (or fill in there)
And I change the content,
And I click submit (or outside the editable box),
I should see a flash msg for success or reason why edit was invalid.
When I visit 'links#index',
And I click "Mark as Read",
I should see the 'read status' change to true (and the link should be gray or strike-thru)
And when I click "Mark as Unread",
I should see the normal link color again
When I visit 'links#index',
And I click "Show Read",
I should only see read links,
And when I click on "Show Unread",
I should only see unread links,
And when I type into the search box,
I should see links & links with titles that match the letters on every keystroke
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.