Giter VIP home page Giter VIP logo

dollar-street-pages's Introduction

Test coverage

Build Status codecov.io Dependency Status devDependency Status

DS Consumer

Throughput Graph

How to install

  • git clone
  • npm i
  • npm start
  • hint: on first start if you see can to GET /, wait for build and refresh pages

Credits

Crossbrowser testing sponsored by Browser Stack Browser Stack

dollar-street-pages's People

Contributors

antonolkhovskyi avatar betrozov avatar daniloff200 avatar korel-san avatar legionivo avatar ludmilanesvitiy avatar miffael avatar nepipenkoigor avatar sergeimelnik1980 avatar sergeykhristenko avatar ugmaxie avatar valorkin avatar yuriy777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dollar-street-pages's Issues

Can't open photographer's profile

STR:

  1. Go to {instance}/photographer?name=Alisia%20Sidorenko .

Actual result:
There are error at browser's console.

Failed to load resource: the server responded with a status of 502 (Bad Gateway) photographer:1 XMLHttpRequest cannot load http://stage.dollarstreet.org/consumer/api/v1/photographer-profile?name=Alisia%20Sidorenko. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://consumer.dollarstreet.org' is therefore not allowed access. The response had HTTP status code 502. browser_adapter.js:85 EXCEPTION: [object Object] browser_adapter.js:76 EXCEPTION: [object Object]BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76 STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76 BrowserDomAdapter.logError @ browser_adapter.js:76 exception_handler.js:79 Uncaught [object Object] http://stage.dollarstreet.org/consumer/api/v1/photographer-places?name=Alisia%20Sidorenko Failed to load resource: the server responded with a status of 502 (Bad Gateway) photographer:1 XMLHttpRequest cannot load http://stage.dollarstreet.org/consumer/api/v1/photographer-places?name=Alisia%20Sidorenko. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://consumer.dollarstreet.org' is therefore not allowed access. The response had HTTP status code 502. browser_adapter.js:85EXCEPTION: [object Object] browser_adapter.js:76EXCEPTION: [object Object]BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76BrowserDomAdapter.logError @ browser_adapter.js:76 exception_handler.js:79Uncaught [object Object] http://stage.dollarstreet.org/consumer/api/v1/photographer-profile?name=Alisia%20Sidorenko Failed to load resource: the server responded with a status of 502 (Bad Gateway) photographer:1 XMLHttpRequest cannot load http://stage.dollarstreet.org/consumer/api/v1/photographer-profile?name=Alisia%20Sidorenko. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://consumer.dollarstreet.org' is therefore not allowed access. The response had HTTP status code 502. browser_adapter.js:85EXCEPTION: [object Object] browser_adapter.js:76EXCEPTION: [object Object]BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76BrowserDomAdapter.logError @ browser_adapter.js:76 exception_handler.js:79Uncaught [object Object] http://stage.dollarstreet.org/consumer/api/v1/photographer-places?name=Alisia%20Sidorenko Failed to load resource: the server responded with a status of 502 (Bad Gateway) photographer:1 XMLHttpRequest cannot load http://stage.dollarstreet.org/consumer/api/v1/photographer-places?name=Alisia%20Sidorenko. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://consumer.dollarstreet.org' is therefore not allowed access. The response had HTTP status code 502. browser_adapter.js:85EXCEPTION: [object Object] browser_adapter.js:76EXCEPTION: [object Object]BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:76 browser_adapter.js:76BrowserDomAdapter.logError @ browser_adapter.js:76 exception_handler.js:79Uncaught [object Object] http://consumer.dollarstreet.org/photographer?name=Alisia%20Sidorenko Failed to load resource: the server responded with a status of 404 (Not Found)

Expected result:
Photographer's profile should be loaded successfully without any errors.

Incorrect picture for thing

STR 1:

  1. Go to {instance}/matrix?thing=546ccf730f7ddf45c017963d&countries=World&regions=World&zoom=5&row=5 .
  2. Click to Sweden place with $1506 income.

Actual result:
snap44

Expected result:
Pictures should be the same.

STR 2:

  1. Go to {instance}/place?thing=546ccf730f7ddf45c017963d&place=54785240be35740b009e81ae&image=547856e2be35740b009e8252 .
  2. Find on the street this Sweden place. There will be incorrect picture.
    snap45
    Click on it.

Actual result:
snap43

Expected result:
Place with correct pictures should be opened.

There is no link\button from /photographer?name={name} to /photographers

Once we on the some /photographer?name={name} page we can't get back to /photographers page.

STR:

  1. Go to {instance}/photographers .
  2. Select any photographer.

Actual result:
There is no possibility to get back to previous page.

Expected result:
There should be possibility to get back to previous page.

Place page, mobile: There is no info about family and link to matrix page

STR:

  1. Go to {instance}/matrix?thing=5477537786deda0b00d43be5&countries=World&regions=World&zoom=3&row=1 using mobile device.
  2. Select any place.
  3. Click to "VISIT FAMILY" link.
  4. Click to [Info about family] button.

ACTUAL RESULT:
There is no info about family and no link back to matrix page.
snap64

EXPECTED RESULT:
There should be info about family like in desktop version and the link to the matrix page.

Street widget is truncated

STR:

  1. Go to {instance}/matrix?thing=5477537786deda0b00d43be5&countries=World&regions=World&zoom=5&row=1 .

Actual result:
Street widget is truncated.
snap54

Expected result:
Street widget shouldn't be truncated.

Place page: Family portrait icon shouldn't be clickable

STR:

  1. Go to {instance}/place?thing=5477537786deda0b00d43be5&place=55d1ff793efe9e00273b0dbb&image=55d20228ff69295c271979ca .
  2. Hover by mouse family portrait by mouse.

Actual result:
Mouse pointer looks like the icon is clickable.
snap51

Expected result:
Mouse pointer shouldn't change.

Can't open some places

STR 1:

  1. Go to {instance}/matrix?thing=5477537786deda0b00d43be5&countries=World&regions=World&zoom=5&row=3 .
  2. Click to Sweden place with $2730 income.

Actual result:
Blamoh, $1, Liberia will be opened.

Expected result:
Sweden place should be opened.

STR 2:

  1. Go to {instance}/matrix?thing=546ccf730f7ddf45c017963d&countries=World&rregion=World&zoom=5&row=1 .
  2. Click to United States place with $100 income.

Actual result:
"100$ The Ramos Mota in Mexico" place will be opened.
Also there are many errors at browser console:

xhr_backend.js:76 GET http://stage.dollarstreet.org/consumer/api/v1/search?thing=546ccf730f7ddf45c017963d&place=54b9196c02f7310b2e0baaf3&image=54b91994472e93d62d92640f (anonymous function) @ xhr_backend.js:76Observable.subscribe @ Observable.js:58Observable._subscribe @ Observable.js:99Observable.subscribe @ Observable.js:55SearchComponent.getInitData @ search.component.ts:215SearchComponent.ngOnChanges @ search.component.ts:84ChangeDetector_HeaderComponent_0.detectChangesInRecordsInternal @ viewFactory_HeaderComponent:93AbstractChangeDetector.detectChangesInRecords @ abstract_change_detector.js:105AbstractChangeDetector.runDetectChanges @ abstract_change_detector.js:82AbstractChangeDetector._detectChangesInViewChildren @ abstract_change_detector.js:189AbstractChangeDetector.runDetectChanges @ abstract_change_detector.js:86AbstractChangeDetector._detectChangesInViewChildren @ abstract_change_detector.js:189AbstractChangeDetector.runDetectChanges @ abstract_change_detector.js:86AbstractChangeDetector._detectChangesContentChildren @ abstract_change_detector.js:182AbstractChangeDetector.runDetectChanges @ abstract_change_detector.js:83AbstractChangeDetector._detectChangesInViewChildren @ abstract_change_detector.js:189AbstractChangeDetector.runDetectChanges @ abstract_change_detector.js:86AbstractChangeDetector.detectChanges @ abstract_change_detector.js:71ChangeDetectorRef_.detectChanges @ change_detector_ref.js:21(anonymous function) @ application_ref.js:389ApplicationRef_.tick @ application_ref.js:389(anonymous function) @ application_ref.js:302Zone.run @ zone-microtask.js:120(anonymous function) @ ng_zone.js:344NgZone.run @ ng_zone.js:292(anonymous function) @ application_ref.js:302generatorOrNext.object.schedulerFn @ async.js:121SafeSubscriber.__tryOrUnsub @ Subscriber.js:166SafeSubscriber.next @ Subscriber.js:115Subscriber._next @ Subscriber.js:74Subscriber.next @ Subscriber.js:51Subject._finalNext @ Subject.js:124Subject._next @ Subject.js:116Subject.next @ Subject.js:73EventEmitter.emit @ async.js:110(anonymous function) @ ng_zone.js:185Zone.run @ zone-microtask.js:120NgZone._notifyOnTurnDone @ ng_zone.js:185(anonymous function) @ ng_zone.js:358(anonymous function) @ zone-microtask.js:93lib$es6$promise$asap$$flush @ zone-microtask.js:1287
place?thing=546ccf7…&place=54b9196…&image=54b9199…:1 XMLHttpRequest cannot load http://stage.dollarstreet.org/consumer/api/v1/search?thing=546ccf730f7ddf45c017963d&place=54b9196c02f7310b2e0baaf3&image=54b91994472e93d62d92640f. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://consumer.dollarstreet.org' is therefore not allowed access. The response had HTTP status code 502.
browser_adapter.js:85 EXCEPTION: [object Object]
browser_adapter.js:76 EXCEPTION: [object Object]BrowserDomAdapter.logError @ browser_adapter.js:76BrowserDomAdapter.logGroup @ browser_adapter.js:86ExceptionHandler.call @ exception_handler.js:56(anonymous function) @ application_ref.js:192NgZone._notifyOnError @ ng_zone.js:431collection_1.StringMapWrapper.merge.onError @ ng_zone.js:326Zone.run @ zone-microtask.js:123(anonymous function) @ ng_zone.js:344(anonymous function) @ zone-microtask.js:93
browser_adapter.js:76 STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:76ExceptionHandler.call @ exception_handler.js:58(anonymous function) @ application_ref.js:192NgZone._notifyOnError @ ng_zone.js:431collection_1.StringMapWrapper.merge.onError @ ng_zone.js:326Zone.run @ zone-microtask.js:123(anonymous function) @ ng_zone.js:344(anonymous function) @ zone-microtask.js:93
browser_adapter.js:76 BrowserDomAdapter.logError @ browser_adapter.js:76ExceptionHandler.call @ exception_handler.js:59(anonymous function) @ application_ref.js:192NgZone._notifyOnError @ ng_zone.js:431collection_1.StringMapWrapper.merge.onError @ ng_zone.js:326Zone.run @ zone-microtask.js:123(anonymous function) @ ng_zone.js:344(anonymous function) @ zone-microtask.js:93
exception_handler.js:79 Uncaught [object Object]ExceptionHandler.call @ exception_handler.js:79(anonymous function) @ application_ref.js:192NgZone._notifyOnError @ ng_zone.js:431collection_1.StringMapWrapper.merge.onError @ ng_zone.js:326Zone.run @ zone-microtask.js:123(anonymous function) @ ng_zone.js:344(anonymous function) @ zone-microtask.js:93

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.